OSDN Git Service

soc: qcom: rpmh-rsc: Make use of the helper function devm_platform_ioremap_resource_b...
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 08:02:16 +0000 (16:02 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Sep 2021 22:41:49 +0000 (17:41 -0500)
commitf69a91e376695ae6048934c92f6b7eea6c51cd86
treecd0c64ea9f6f32f8af790740ebee924ddcb55ab2
parenteb242d57aa6f93b702b15c40682f2775049c467d
soc: qcom: rpmh-rsc: Make use of the helper function devm_platform_ioremap_resource_byname()

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() 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-6-caihuoqing@baidu.com
drivers/soc/qcom/rpmh-rsc.c