]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: hisi504: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 07:41:37 +0000 (15:41 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 14 Sep 2021 17:34:41 +0000 (19:34 +0200)
commit38065da53f77b93400ec8535298318a5980d9a37
treef46575202749c2216bbc6822b5d80700a99f2023
parentfdd7e4e3a41b7acd4e0d2c883e4fb16c02a4a02f
mtd: rawnand: hisi504: 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/20210901074138.9133-1-caihuoqing@baidu.com
drivers/mtd/nand/raw/hisi504_nand.c