mtd: rawnand: gpio: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 07:41:22 +0000 (15:41 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 14 Sep 2021 17:34:37 +0000 (19:34 +0200)
commit557de1cfabd6ea5476e5364a00d23d26bdfa3d4d
treeaabf016c3deee05b1386d4c57c5a4d217a0203bf
parent5f14a8ca1b493a3c633ff549fb7d494887d7804a
mtd: rawnand: gpio: Make use of the helper function devm_platform_ioremap_resource()

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

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210901074123.9033-1-caihuoqing@baidu.com
drivers/mtd/nand/raw/gpio.c