net: dsa: Drop GPIO includes

Message ID 20180826222011.19149-1-linus.walleij@linaro.org
State New
Headers show
Series
  • net: dsa: Drop GPIO includes
Related show

Commit Message

Linus Walleij Aug. 26, 2018, 10:20 p.m.
Commit 52638f71fcff ("dsa: Move gpio reset into switch driver")
moved the GPIO handling into the switch drivers but forgot
to remove the GPIO header includes.

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

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

-- 
2.17.1

Comments

Andrew Lunn Aug. 26, 2018, 10:58 p.m. | #1
On Mon, Aug 27, 2018 at 12:20:11AM +0200, Linus Walleij wrote:
> Commit 52638f71fcff ("dsa: Move gpio reset into switch driver")

> moved the GPIO handling into the switch drivers but forgot

> to remove the GPIO header includes.

> 

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


Reviewed-by: Andrew Lunn <andrew@lunn.ch>


    Andrew
David Miller Aug. 27, 2018, 10:24 p.m. | #2
From: Linus Walleij <linus.walleij@linaro.org>

Date: Mon, 27 Aug 2018 00:20:11 +0200

> Commit 52638f71fcff ("dsa: Move gpio reset into switch driver")

> moved the GPIO handling into the switch drivers but forgot

> to remove the GPIO header includes.

> 

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


Applied.

Patch

diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index e63c554e0623..9f3209ff7ffd 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -19,12 +19,10 @@ 
 #include <linux/of_mdio.h>
 #include <linux/of_platform.h>
 #include <linux/of_net.h>
-#include <linux/of_gpio.h>
 #include <linux/netdevice.h>
 #include <linux/sysfs.h>
 #include <linux/phy_fixed.h>
 #include <linux/ptp_classify.h>
-#include <linux/gpio/consumer.h>
 #include <linux/etherdevice.h>
 
 #include "dsa_priv.h"