]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: ams-delta: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 07:59:49 +0000 (08:59 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 18:25:04 +0000 (10:25 -0800)
commit58e2eb0c11a0886fcebba37f7d06c4596a916820
treee3c8c2e3545ab021e6b204102c0e9217fef5caf1
parent5e6d236a33ce80c7b0950c466f4bfa8e8b04cc7b
mtd: nand: ams-delta: use the mtd instance embedded in struct nand_chip

struct nand_chip now embeds an mtd device. Make use of this mtd instance
instead of allocating our own.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/ams-delta.c