mtd: nand: nuc900: create and use mtd_to_nuc900()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 07:59:47 +0000 (08:59 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 18:25:02 +0000 (10:25 -0800)
commitfaee6c358b0f1906f0f653a9d9f8beb5ebef174f
treef46a790d78e4fb54606313cbe90b2356912c0cd6
parent277af429fb40cf484c4a76c0b4cde2afc3e0c3d0
mtd: nand: nuc900: create and use mtd_to_nuc900()

Create and use mtd_to_nuc900() instead of direct container_of() calls.

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