Boris BREZILLON 2d3b77bac3 mtd: nand: update mtd_to_nand()
Now that all drivers are using the mtd instance embedded in the nand_chip
struct we can safely update the mtd_to_nand() implementation to use
the container_of macro instead of returning the content of mtd->priv.
This will allow us to remove mtd->priv = chip assignments done in all
NAND controller drivers.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-12-18 13:19:10 -08:00
..
2015-11-12 15:26:39 -08:00
2015-11-10 15:06:26 -08:00
2015-12-18 13:19:10 -08:00
2015-11-09 17:11:57 -08:00
2015-11-10 15:00:03 -08:00
2015-11-13 17:05:32 -08:00