mtd: nand: brcm: rely on generic DT parsing done in nand_scan_ident()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 1 Apr 2016 12:54:24 +0000 (14:54 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:30 +0000 (22:05 +0200)
commit541e3c8912fe4257ba0b71908ea8fbf79143f510
treeded602920cf6c9cb12f5dde172cb4ca94b64c828
parentf679888f29fe5c4a4c44459f2c1fc62b72188773
mtd: nand: brcm: 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: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/brcmnand/brcmnand.c