mtd: nand: socrates: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 11 Dec 2015 14:04:06 +0000 (15:04 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 21:13:49 +0000 (13:13 -0800)
commita723bf6a58b17379c27f869402baddf4b0d2c7dc
tree5197453963132f1bb63d9411c2600fa2e938e60b
parent17dd20bd7d4389d3bc54d71e263088039203ea07
mtd: nand: socrates: use the mtd instance embedded in struct nand_chip

struct nand_chip now embeds an mtd device. Make use of this mtd instance.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/socrates_nand.c