mfd: qcom_rpm: Use devm_platform_get_and_ioremap_resource()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Wed, 8 Feb 2023 09:34:51 +0000 (17:34 +0800)
committerLee Jones <lee@kernel.org>
Wed, 26 Apr 2023 10:40:27 +0000 (11:40 +0100)
commit2e9de58c65f76ac9617b0028254edaca01529208
tree6ffc1c026bdcc2e2b5bf56668280e1113a0c93df
parentccb92c4d1608eb07c0d6b677c3bc7745db7fa33d
mfd: qcom_rpm: Use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/202302081734511884545@zte.com.cn
drivers/mfd/qcom_rpm.c