mtd: rawnand: fsl_upm: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Fri, 7 Jul 2023 04:06:12 +0000 (12:06 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 12 Jul 2023 12:07:54 +0000 (14:07 +0200)
commit892ad2638a6ba33c0b5afb335501b9bb7e8a83b6
treea55bc9721705f541c72ff3c53a586722cc3836c1
parent9cd9dda8f06c9100997e981f11e8ef9cec042a95
mtd: rawnand: fsl_upm: Use devm_platform_get_and_ioremap_resource()

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

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230707040622.78174-8-frank.li@vivo.com
drivers/mtd/nand/raw/fsl_upm.c