diff mbox series

net: dsa: microchip: Drop unused GPIO includes

Message ID 20190103123643.30684-1-linus.walleij@linaro.org
State New
Headers show
Series net: dsa: microchip: Drop unused GPIO includes | expand

Commit Message

Linus Walleij Jan. 3, 2019, 12:36 p.m. UTC
This driver does not use the old GPIO includes so drop
them.

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

---
 drivers/net/dsa/microchip/ksz_common.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.19.2

Comments

Vivien Didelot Jan. 3, 2019, 3:48 p.m. UTC | #1
On Thu,  3 Jan 2019 13:36:43 +0100, Linus Walleij <linus.walleij@linaro.org> wrote:
> This driver does not use the old GPIO includes so drop

> them.

> 

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


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

Date: Thu,  3 Jan 2019 13:36:43 +0100

> This driver does not use the old GPIO includes so drop

> them.

> 

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


Applied.
diff mbox series

Patch

diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c
index 3b12e2dcff31..8a5111f9414c 100644
--- a/drivers/net/dsa/microchip/ksz_common.c
+++ b/drivers/net/dsa/microchip/ksz_common.c
@@ -7,7 +7,6 @@ 
 
 #include <linux/delay.h>
 #include <linux/export.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
@@ -15,7 +14,6 @@ 
 #include <linux/phy.h>
 #include <linux/etherdevice.h>
 #include <linux/if_bridge.h>
-#include <linux/of_gpio.h>
 #include <linux/of_net.h>
 #include <net/dsa.h>
 #include <net/switchdev.h>