Skip to content
Commit 8fcfba07 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: nand: tango: Use nand_to_mtd() instead of directly accessing chip->mtd



The nand_to_mtd() helper is here to hide internal mtd_info <-> nand_chip
association and ease future refactors.

Make use of this helper instead of directly accessing chip->mtd.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: default avatarMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
parent 4d6aecfb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment