Skip to contentSkip to conversation

mtd: atmel-quadspi: Remove unneeded pinctrl header

PATCH In review Fabio Estevam 2 participants 3 messages Jul 18, 2017 – Aug 1, 2017

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mtd: atmel-quadspi: Remove unneeded pinctrl header

From: Fabio Estevam <[email protected]>

There is no need to include <linux/pinctrl/consumer.h> as no pinctrl function is used in this driver, so just remove it.

---
 drivers/mtd/spi-nor/atmel-quadspi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/spi-nor/atmel-quadspi.c +0 -1
index ba76fa8..6c5708b 100644
@@ -35,7 +35,6 @@
 
 #include <linux/io.h>
 #include <linux/gpio.h>
-#include <linux/pinctrl/consumer.h>
 
 /* QSPI register offsets */
 #define QSPI_CR      0x0000  /* Control Register */
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 mtd: mtk-quadspi: Remove unneeded pinctrl header

From: Fabio Estevam <[email protected]>

There is no need to include <linux/pinctrl/consumer.h> as no pinctrl function is used in this driver, so just remove it.

---
 drivers/mtd/spi-nor/mtk-quadspi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/spi-nor/mtk-quadspi.c +0 -1
index 8a20ec4..c258c7a 100644
@@ -24,7 +24,6 @@
 #include <linux/mutex.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <linux/mtd/mtd.h>
Signature · 1 line
2.7.4
#2 lore raw
In reply to Fabio Estevam
Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

There is no need to include <linux/pinctrl/consumer.h> as no pinctrl function is used in this driver, so just remove it.

series applied to the spi-nor/next branch of l2-mtd

Thanks!

Quoted 17 lines
---
 drivers/mtd/spi-nor/atmel-quadspi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/spi-nor/atmel-quadspi.c +0 -1
index ba76fa8..6c5708b 100644
@@ -35,7 +35,6 @@
 
 #include <linux/io.h>
 #include <linux/gpio.h>
-#include <linux/pinctrl/consumer.h>
 
 /* QSPI register offsets */
 #define QSPI_CR      0x0000  /* Control Register */