spi: spi-nxp-fspi: Convert to devm_platform_ioremap_resource() and devm_platform_iore...
authorYangtao Li <frank.li@vivo.com>
Thu, 6 Jul 2023 03:27:23 +0000 (11:27 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:51:39 +0000 (22:51 +0100)
commit8c8e947b6be037d0a311f11688212c7d87aa5440
tree73b5c60288cd413264759901e2c4fa65a70bcd2e
parentcb8ea3dd55acd191f80847488d2231a1d18ab1ed
spi: spi-nxp-fspi: Convert to devm_platform_ioremap_resource() and devm_platform_ioremap_resource_byname()

Use devm_platform_ioremap_resource() and
devm_platform_ioremap_resource_byname() to simplify code.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/20230706032727.9180-4-frank.li@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-nxp-fspi.c