mtd: nand: omap2: rely on generic DT parsing done in nand_scan_ident()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 18:29:58 +0000 (20:29 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:04:54 +0000 (22:04 +0200)
commitf679888f29fe5c4a4c44459f2c1fc62b72188773
tree9067cfb0cbe4700ce3eb6fe5009a161a5d5e5b38
parent24d990e237d1822fb108ed9be41d1542af001185
mtd: nand: omap2: rely on generic DT parsing done in nand_scan_ident()

The core now takes care of parsing generic DT properties in
nand_scan_ident() when nand_set_flash_node() has been called.
Rely on this initialization instead of calling of_get_nand_xxx()
manually.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Tested-by: Franklin S Cooper Jr. <fcooper@ti.com>
drivers/memory/omap-gpmc.c
drivers/mtd/nand/omap2.c