]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mtd: nand: remove unneeded of_mtd.h inclusions
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 1 Apr 2016 12:54:21 +0000 (14:54 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:04:53 +0000 (22:04 +0200)
Some drivers are including linux/of_mtd.h even if they don't use any of
the of_get_nand_xxx() helpers.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Harvey Hunt <harvey.hunt@imgtec.com>
drivers/mtd/nand/jz4780_nand.c
drivers/mtd/nand/lpc32xx_mlc.c
drivers/mtd/nand/qcom_nandc.c
drivers/mtd/nand/sunxi_nand.c
drivers/mtd/nand/vf610_nfc.c

index e1c016c9d32d2caaf90d3800cf0b4e83d2d55c8c..23a1999ae8394d608ad027e0a57c17d593b8b2c0 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/gpio/consumer.h>
-#include <linux/of_mtd.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <linux/mtd/mtd.h>
index d8c3e7afcc0bfa74c5d0a87e580ca53a6b28e916..8e439787b04e7f33e3f38b90ab3a664ce8d41b73 100644 (file)
@@ -35,7 +35,6 @@
 #include <linux/completion.h>
 #include <linux/interrupt.h>
 #include <linux/of.h>
-#include <linux/of_mtd.h>
 #include <linux/of_gpio.h>
 #include <linux/mtd/lpc32xx_mlc.h>
 #include <linux/io.h>
index f550a57e6eea237dacc7b3ca3ceda3914d8a481b..f3de983475dbf5b7b141cde5ccdc2f20b4899207 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/mtd/partitions.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
-#include <linux/of_mtd.h>
 #include <linux/delay.h>
 
 /* NANDc reg offsets */
index 1c03eee44f3d6fe8ab02d8e6255f7c68fe42ece0..3a97093662ea64e32cf9ba3afa4edc11688870de 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_gpio.h>
-#include <linux/of_mtd.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
index 293feb19b0b149c7add9d4e2bf7dc0f2a8313275..a7f2756c49ee9801d6522344ac84fe6a477a5292 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
-#include <linux/of_mtd.h>
 #include <linux/of_device.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>