]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f8abeb40936f6ffdffa2e6f75219d8cf08e3725
treea1198d65100077179a4453e575386eb5bd21734f
parent5cb15a619a56c4bd0bb16f2064b04fd1cf9f9487
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