spi: spi-fsl-qspi: Use devm_platform_ioremap_resource_byname()
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 24 Sep 2022 13:18:54 +0000 (21:18 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 26 Sep 2022 15:10:41 +0000 (16:10 +0100)
commitfc13b5a25e18b0de5e04b6f5616c60d71d2610ee
treeacdfe37dc01c099acf00f00adcab5ff318919508
parentc9e1bb724d884b12a4c0d1dc9f802946cf427a92
spi: spi-fsl-qspi: Use devm_platform_ioremap_resource_byname()

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

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