PM / devfreq: exynos-ppmu: Use devm_platform_get_and_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 28 Mar 2023 05:38:53 +0000 (13:38 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 3 Apr 2023 15:09:32 +0000 (00:09 +0900)
commit376b1446153ca67e7028e6b9555d9b17477f568b
tree65c064e2c12b3561a426ada39cbe8e56896a7f55
parentb7405e3f62d68be4cc5f4677499e1b8c13a0d216
PM / devfreq: exynos-ppmu: Use devm_platform_get_and_ioremap_resource()

According to commit 890cc39a8799 ("drivers: provide
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: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/event/exynos-ppmu.c