perf: arm: Use devm_platform_get_and_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 15 Mar 2023 02:30:17 +0000 (10:30 +0800)
committerWill Deacon <will@kernel.org>
Mon, 27 Mar 2023 14:02:32 +0000 (15:02 +0100)
commitd7f4679dc8d1a5cec497dd9f1b315ce77ab8db28
treee0ee1b99b7b5c971ea3323e1a4555a4f5593a82c
parentf87e9114b5e590c2c6658ca21d7b714ca240bdd0
perf: arm: 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>
Link: https://lore.kernel.org/r/20230315023017.35789-1-yang.lee@linux.alibaba.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_dmc620_pmu.c