clk: qcom: kpss-xcc: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 08:48:57 +0000 (16:48 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 14 Sep 2021 21:39:44 +0000 (14:39 -0700)
commit17c774ab41292148045fe297a3791a66bc4bb3ea
treec36643cd3993c5ac55c690794dd63d425f1941d4
parent437cbbb09be454165b936fa18f9e35506c29924f
clk: qcom: kpss-xcc: 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/20210907084858.4101-1-caihuoqing@baidu.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/kpss-xcc.c