spi: rockchip-sfc: Use devm_platform_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 29 Mar 2023 06:24:50 +0000 (14:24 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Mar 2023 16:48:57 +0000 (17:48 +0100)
commit526c2966fca3337f01c513b1f0d85c839f8d8175
treed7a48b90bbed31edc9ef85a3e5c5333988a8d426
parent0623ec17c45ed3e96880453f69461d526dc97f41
spi: rockchip-sfc: 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: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20230329062450.58924-1-yang.lee@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip-sfc.c