]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: xway: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 07:42:51 +0000 (15:42 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 14 Sep 2021 17:35:06 +0000 (19:35 +0200)
commit6f765d45a0609b16931cef624ce644ea4a29de44
treeb258a8fc32d304f916630165aa8beb63b44a4095
parent9ed3574d5c6f5500a21f97c9b74006a7efde75dd
mtd: rawnand: xway: 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/20210901074252.9633-1-caihuoqing@baidu.com
drivers/mtd/nand/raw/xway_nand.c