clk: mediatek: mt6797: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 12:47:28 +0000 (20:47 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:46 +0000 (16:17 -0700)
commit0b17159de2c3be6a6b48b40f9c2c370dbdef456f
treeaf19d261396929af6c77a4613f263e483306c83a
parentaa136002ae227468d75dd2f82f1a4baa3558a7d4
clk: mediatek: mt6797: 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/20191015124728.25072-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt6797.c