clk: hisilicon: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Mon, 14 Oct 2019 14:40:14 +0000 (22:40 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:06 +0000 (16:17 -0700)
commit75cc0a123c90c8e3bfd8d279395d0bd558670424
treea1198d65100077179a4453e575386eb5bd21734f
parent4d3a369510dda6336534c4364910312f432c54a5
clk: hisilicon: 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/20191014144014.20644-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/hisilicon/reset.c