mtd: nand: s3c2410: use the mtd instance embedded in struct nand_chip
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 08:00:22 +0000 (09:00 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 19:27:03 +0000 (11:27 -0800)
commit7208b997b726522cdbea61f53a82c763704c015a
tree069b3bde26fae40a5b2d1e536886f03d9cc342d9
parent3eb064e4b0f423810562b8a7aef3ca0083152e90
mtd: nand: s3c2410: 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>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/s3c2410.c