diff mbox series

net: dsa: mt7530: Drop unused GPIO include

Message ID 20190103213132.31496-1-linus.walleij@linaro.org
State New
Headers show
Series net: dsa: mt7530: Drop unused GPIO include | expand

Commit Message

Linus Walleij Jan. 3, 2019, 9:31 p.m. UTC
This driver uses GPIO descriptors only, <linux/of_gpio.h>
is not used so drop the include.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/net/dsa/mt7530.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.19.2

Comments

Vivien Didelot Jan. 3, 2019, 10 p.m. UTC | #1
On Thu,  3 Jan 2019 22:31:32 +0100, Linus Walleij <linus.walleij@linaro.org> wrote:
> This driver uses GPIO descriptors only, <linux/of_gpio.h>

> is not used so drop the include.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
David Miller Jan. 4, 2019, 9:07 p.m. UTC | #2
From: Linus Walleij <linus.walleij@linaro.org>

Date: Thu,  3 Jan 2019 22:31:32 +0100

> This driver uses GPIO descriptors only, <linux/of_gpio.h>

> is not used so drop the include.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Applied.
diff mbox series

Patch

diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index 74547f43b938..a8a2c728afba 100644
--- a/drivers/net/dsa/mt7530.c
+++ b/drivers/net/dsa/mt7530.c
@@ -18,7 +18,6 @@ 
 #include <linux/mfd/syscon.h>
 #include <linux/module.h>
 #include <linux/netdevice.h>
-#include <linux/of_gpio.h>
 #include <linux/of_mdio.h>
 #include <linux/of_net.h>
 #include <linux/of_platform.h>