mtd: nand: atmel: rely on generic DT parsing done in nand_scan_ident()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 1 Apr 2016 12:54:22 +0000 (14:54 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:36 +0000 (22:05 +0200)
commit4f3cab9b4457108a8241ec7a66e03fe0b2cb3646
tree231f41e21858a969bab70ac3270160ad4a59fde4
parentff05fdb187cc25bff3e7ee9f79d94077c8d16a44
mtd: nand: atmel: 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>
Tested-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/mtd/nand/atmel_nand.c