]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: cmx270: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 07:59:56 +0000 (08:59 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 18:53:44 +0000 (10:53 -0800)
commita3a9f5465a771b00663cee05b4e661558e04ce21
tree459c2a9b407904ede5b193d62f6413944f9cfeac
parentf32f597ede14179304898503652bc155c1cd1d31
mtd: nand: cmx270: 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>
[Brian: dropped a defunct comment]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/cmx270_nand.c