mtd: nand: au1550nd: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 07:59:51 +0000 (08:59 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 18:25:05 +0000 (10:25 -0800)
commitff70f354a960f01afb2e0d4313bd664b88b1532f
tree36476c9911b38c4df69357f10b2c1fd4f5989f69
parentac01efebb1075a51a2803237159a440b71383117
mtd: nand: au1550nd: 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/au1550nd.c