]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: omap2: create and use mtd_to_omap()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 07:59:48 +0000 (08:59 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 18:25:03 +0000 (10:25 -0800)
commit5e6d236a33ce80c7b0950c466f4bfa8e8b04cc7b
treebd8a300ea03ff23e679c6bdc090f5101c5298a78
parent44b59c6d739f99297694b50088c640d066e862b8
mtd: nand: omap2: create and use mtd_to_omap()

Define and use mtd_to_omap() instead of container_of();

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