Skip to content
Snippets Groups Projects
Commit 1ceac700 authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Tom Rini
Browse files

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: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 6308e71b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment