mtd: nand: gpmi: rely on generic DT parsing done in nand_scan_ident()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 1 Apr 2016 12:54:26 +0000 (14:54 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:51:57 +0000 (23:51 +0200)
commitf05f6a10fb2ef4aa7ebec75696a162f3110861a0
treee09b20546615056941f7ee7d5d4e9dd1b74599d6
parent57a605b101bbdff6a388e8dcb4853db9ffe947f7
mtd: nand: gpmi: 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: Han xu <han.xu@nxp.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c