OSDN Git Service

PM: AVS: qcom-cpr: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 08:02:11 +0000 (16:02 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Sep 2021 22:41:48 +0000 (17:41 -0500)
commit0e6fda9c65634e1f6f4a18fd1c48acf0af761deb
treed898363acd057c61f7f6a867e7a643b237cc610f
parentaa88e34f2bfdb7516510b0d154eaa6c0a9b284cb
PM: AVS: qcom-cpr: 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>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210908080216.1301-1-caihuoqing@baidu.com
drivers/soc/qcom/cpr.c