soc: fsl: rcpm: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 07:16:30 +0000 (15:16 +0800)
committerLi Yang <leoyang.li@nxp.com>
Fri, 22 Oct 2021 00:37:32 +0000 (19:37 -0500)
commitea41191165fdce7baef9a9ab09523c6d3d0525e1
treed1d3efd0915befb08540dc734b83c684a15f372d
parente0162129c6763eb02765a1b33fdaac6980fb0c46
soc: fsl: rcpm: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/rcpm.c