]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_...
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 07:41:15 +0000 (15:41 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 14 Sep 2021 17:34:34 +0000 (19:34 +0200)
commit6946c9d47bdee6ba8c93ef71417ca4c97cbc82de
treee4cb85f0e6e0efb0f63c41af973f2fa802337a8e
parentec40c836d3030bbafb5431b158a596351ef61400
mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname()

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() 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/20210901074116.8983-1-caihuoqing@baidu.com
drivers/mtd/nand/raw/denali_dt.c