PM / devfreq: event: use devm_platform_get_and_ioremap_resource()
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 22 Nov 2022 01:42:28 +0000 (09:42 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 5 Dec 2022 12:57:20 +0000 (21:57 +0900)
commit7fc7f25419f5a6b09199ba4b5026b94ef184fa79
tree75ba052343d2c3ffe5f8226e186fdcb27e30fbac
parentad44c2fd0e22910080e7761fb889c6c6c8c914d8
PM / devfreq: event: 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: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/event/exynos-nocp.c