clk: sprd: Change to use devm_platform_ioremap_resource()
authorBaolin Wang <baolin.wang@linaro.org>
Tue, 8 Oct 2019 07:41:39 +0000 (15:41 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:18:30 +0000 (16:18 -0700)
commit793ee798cc47abb41e9215d97cc38cb9e050e969
treec44e91cc03a3c06110e973d3e38f208f411300ff
parent56a57321395e13172f315036234c28cf95f943d3
clk: sprd: Change to use devm_platform_ioremap_resource()

Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together, which can simpify the code.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lkml.kernel.org/r/841d26a2adb4bf3b4423f82a41dd3f1346413db6.1570520268.git.baolin.wang@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sprd/common.c