clk: davinci: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Mon, 14 Oct 2019 14:44:07 +0000 (22:44 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:14 +0000 (16:17 -0700)
commit1f8f3c6b35b235fea7fa72846a6b2c8af7596607
treee57b20445c0357912cb8a9a539fd98217fec5ab0
parent75cc0a123c90c8e3bfd8d279395d0bd558670424
clk: davinci: 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/20191014144407.23264-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/davinci/pll.c
drivers/clk/davinci/psc.c