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