]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: stm32_fmc2: Make use of the helper function devm_platform_ioremap_resou...
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 07:42:22 +0000 (15:42 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 14 Sep 2021 17:34:56 +0000 (19:34 +0200)
commite213c0486e1efbc27553517c56256b4d62fb8e64
treef91f1edb6ce3ef085f2653cbb8ec358a9161cb6c
parent27b061034444d7003ccdcde49c1737151d59f67c
mtd: rawnand: stm32_fmc2: 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>
Reviewed-by: Christophe Kerello <christophe.kerello@foss.st.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210901074222.9433-1-caihuoqing@baidu.com
drivers/mtd/nand/raw/stm32_fmc2_nand.c