]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: atmel_nand: use devm_xxx gpio kzalloc, gpio and ioremap
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 5 Aug 2013 11:14:33 +0000 (19:14 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 20:06:11 +0000 (21:06 +0100)
commit3a37fdf8790c76e11a9cc0beff8e16d5ce6f522f
tree0b640e8da0121df6966af99dd97003c79ec578f8
parent5f2e0517d0517c1d407a3bc2dbd1d18eff4d83fd
mtd: atmel_nand: use devm_xxx gpio kzalloc, gpio and ioremap

this will allow to simply the error and remove path

Cc: linux-mtd@lists.infradead.org
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
[josh.wu@atmel.com: fix checkpatch warnings and rebase to latest mtd git tree]
[josh.wu@atmel.com: replace devm_request_and_ioremap with devm_ioremap_resource]
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/atmel_nand.c