clk: mediatek: mt2712: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 11:26:44 +0000 (19:26 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:32 +0000 (16:17 -0700)
commit73c3bf70b37b429d9bc8b428128235b6e5932b24
tree0baff1b38098a4c2e689390933acf3012fd086e3
parent1f8f3c6b35b235fea7fa72846a6b2c8af7596607
clk: mediatek: mt2712: 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/20191015112644.19816-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt2712.c