clk: qcom: common: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 08:48:50 +0000 (16:48 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 14 Sep 2021 21:39:31 +0000 (14:39 -0700)
commit437cbbb09be454165b936fa18f9e35506c29924f
tree11582edaa234794178af83630e6c9316f7392ccc
parentaacbbe6bdbe4b2588aa077f355df1b4942dc3c4c
clk: qcom: common: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210907084851.4050-1-caihuoqing@baidu.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/common.c