commit | a3d22a55cda99bcd151836f39ddd329af6cb1d30 | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | Wed Sep 02 10:30:25 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Sep 11 15:48:46 2015 -0700 |
tree | 258a94a81d11abb3fa2517f432a168ca003a10b1 | |
parent | 61528d888adf9470db73aaadf1ff9ca35942262a [diff] |
mtd: nand: sunxi: rely on nand_dt_init initialization nand_dt_init(), called from nand_scan_ident(), is already parsing the generic MTD/NAND DT properties, and initializing the nand_chip struct accordingly. Rely on this initialization instead of manually parsing those properties. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> [Brian: rename 'np' -> 'flash_node' to accomodate for prior rename patch] Signed-off-by: Brian Norris <computersforpeace@gmail.com>