]> git.sur5r.net Git - u-boot/commit
net: phy: cortina: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:12:59 +0000 (19:12 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:48 +0000 (22:41 -0400)
commit1ceac700802c819c856298b6625a612c7c56e570
tree194f340fc1daa34c296246494994f5eb271c89b7
parent6308e71be484be4cc4df8889cf22a77bc0cde48e
net: phy: cortina: 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/phy/cortina.c