]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44b59c6d739f99297694b50088c640d066e862b8
treef46a790d78e4fb54606313cbe90b2356912c0cd6
parente440c92373414d3b53b9cc0d28a61043b41ed8be
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