[PATCH 01/15] mtd: nand: get rid of the mtd parameter in all auto-detection functions

2016-05-27 Thread Boris Brezillon
Now that struct nand_chip embeds an mtd_info object we can get rid of the mtd parameter and extract it from the chip parameter with the nand_to_mtd() helper. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 56

[PATCH 01/15] mtd: nand: get rid of the mtd parameter in all auto-detection functions

2016-05-27 Thread Boris Brezillon
Now that struct nand_chip embeds an mtd_info object we can get rid of the mtd parameter and extract it from the chip parameter with the nand_to_mtd() helper. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 56 1 file changed, 30