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