]> git.ipfire.org Git - people/ms/u-boot.git/commit
dfu: dfu_nand: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:12:53 +0000 (19:12 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:45 +0000 (22:41 -0400)
commit16520189918ef7cbebbb3022e0674fd7e365ab03
treef83762aba1b655e7a2f696ddc35b96f3b79916db
parenta94a2619397c8e19ef97796e2ca37a274fa64bcd
dfu: dfu_nand: 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/dfu/dfu_nand.c