diff options
| author | 2019-07-22 18:39:34 -0500 | |
|---|---|---|
| committer | 2019-08-07 18:15:01 +0200 | |
| commit | 3194166052401e04ca6ca71446a1ca5dd9af2433 (patch) | |
| tree | 8794d50aeceee4161d8640ed4a13744dbd826ec0 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | mtd: rawnand: ingenic: Add of_node_put() before return (diff) | |
| download | linux-dev-3194166052401e04ca6ca71446a1ca5dd9af2433.tar.xz linux-dev-3194166052401e04ca6ca71446a1ca5dd9af2433.zip | |
mtd: rawnand: ingenic: fix devm_platform_ioremap_resource.cocci warnings
drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c:330:1-9: WARNING: Use devm_platform_ioremap_resource for cs -> base
Use devm_platform_ioremap_resource helper which wraps
platform_get_resource() and devm_ioremap_resource() together.
Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci
Fixes: c403ec33b613 ("mtd: rawnand: ingenic: Fix ingenic_ecc dependency")
CC: Paul Cercueil <paul@crapouillou.net>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
