]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fm: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:13:00 +0000 (19:13 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:48 +0000 (22:41 -0400)
commit750b34c9ae783819822ab0ccf07b4d2dc697a874
tree531752ff1802c6fff1edba0a1c71d92f0a2c342b
parent1ceac700802c819c856298b6625a612c7c56e570
net: fm: 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>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fm/fm.c