]> git.sur5r.net Git - u-boot/commit
mtd: nand: drv: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:13:01 +0000 (19:13 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:49 +0000 (22:41 -0400)
commit88b81bf7927c821d07e5a4877665ed5f618c8cb9
treefb62941aefc0c5c551f2bfb72ed61e9e749fd720
parent750b34c9ae783819822ab0ccf07b4d2dc697a874
mtd: nand: drv: use get_nand_dev_by_index()

As part of preparation for nand DM conversion the new API has been
introduced to remove direct access to nand_info array. So, use it here
instead of accessing to nand_info array directly

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/mtd/nand/fsmc_nand.c
drivers/mtd/nand/zynq_nand.c