soc: ti: smartreflex: Use devm_platform_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 28 Apr 2023 06:28:25 +0000 (14:28 +0800)
committerNishanth Menon <nm@ti.com>
Wed, 17 May 2023 14:11:55 +0000 (09:11 -0500)
commit9f60d9d310b94c5869a5b6a2f1707b90bd60245c
tree51791e6d3ff92e7d4b6a0d9df17b38fd514855eb
parentac9a78681b921877518763ba0e89202254349d1b
soc: ti: smartreflex: Use devm_platform_ioremap_resource()

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

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230428062825.126448-1-yang.lee@linux.alibaba.com
Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/soc/ti/smartreflex.c