soc: qcom: aoss: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 08:02:14 +0000 (16:02 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Sep 2021 22:41:48 +0000 (17:41 -0500)
commitc318dcbcccd35a033e7bd79ba51004d2daeb4acb
tree06359892edae98a20ca72bfe2dea570e5823ccd3
parentd21dc0be36bbe8d424a956f6594c3f2b9f7884a6
soc: qcom: aoss: 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-4-caihuoqing@baidu.com
drivers/soc/qcom/qcom_aoss.c