]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: socrates: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 11 Dec 2015 14:04:06 +0000 (15:04 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 21:13:49 +0000 (13:13 -0800)
commit64fb515632a3731e8358d8016222cf4e181f51a0
tree5197453963132f1bb63d9411c2600fa2e938e60b
parent30aa411cf55238fbea8abf8c40857093e070c95b
mtd: nand: socrates: 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/socrates_nand.c