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