spi: spi-fsl-lpspi: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 24 Sep 2022 13:18:53 +0000 (21:18 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 26 Sep 2022 15:10:40 +0000 (16:10 +0100)
commitc9e1bb724d884b12a4c0d1dc9f802946cf427a92
tree3f7584b5e586ee5381dedfbbd8425bda7851876a
parentf96087a38cca6f3bb4c7cf582b949016aeb59d0e
spi: spi-fsl-lpspi: Use devm_platform_get_and_ioremap_resource()

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

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220924131854.964923-2-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c