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