clk: mediatek: mt6779: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 12:10:35 +0000 (20:10 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:37 +0000 (16:17 -0700)
commit71ae814181749381436d6c8ca2cccba3ca899ac1
treeb3aba1e49f42ea2a3736c948d666a598361be9fb
parent73c3bf70b37b429d9bc8b428128235b6e5932b24
clk: mediatek: mt6779: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lkml.kernel.org/r/20191015121035.24736-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt6779.c