mtd: nand: denali: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 11 Dec 2015 14:06:00 +0000 (15:06 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 21:13:50 +0000 (13:13 -0800)
commit442f201b93b5222ac2e4f7513be86fdbd00e9065
treea66e3990d2a980c1d93ac093ff0ba3ab5f0ac36a
parenta723bf6a58b17379c27f869402baddf4b0d2c7dc
mtd: nand: denali: 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/denali.c
drivers/mtd/nand/denali.h