]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: bf5xx: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 07:59:53 +0000 (08:59 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 18:25:06 +0000 (10:25 -0800)
commit2109955891e22f1d21b3748f29fbabe3ae1e2e3f
tree8e4fe647a2031076a0d08c71084a90add1ee8957
parenta41dade909ad2f9e1cccddf622ea6f6b9dcc69bf
mtd: nand: bf5xx: 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/bf5xx_nand.c