diff mbox series

net: phy: mdio-gpio: Cut surplus includes

Message ID 20180611111903.7221-1-linus.walleij@linaro.org
State New
Headers show
Series net: phy: mdio-gpio: Cut surplus includes | expand

Commit Message

Linus Walleij June 11, 2018, 11:19 a.m. UTC
The GPIO MDIO driver now needs only <linux/gpio/consumer.h>
so cut the legacy <linux/gpio.h> and <linux/of_gpio.h>
includes that are no longer used.

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

---
 drivers/net/phy/mdio-gpio.c | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.17.0

Comments

Andrew Lunn June 12, 2018, 7:05 a.m. UTC | #1
On Mon, Jun 11, 2018 at 01:19:03PM +0200, Linus Walleij wrote:
> The GPIO MDIO driver now needs only <linux/gpio/consumer.h>

> so cut the legacy <linux/gpio.h> and <linux/of_gpio.h>

> includes that are no longer used.

> 

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


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


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

Date: Mon, 11 Jun 2018 13:19:03 +0200

> The GPIO MDIO driver now needs only <linux/gpio/consumer.h>

> so cut the legacy <linux/gpio.h> and <linux/of_gpio.h>

> includes that are no longer used.

> 

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


Applied.
diff mbox series

Patch

diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c
index 4e4c8daf44c3..33265747bf39 100644
--- a/drivers/net/phy/mdio-gpio.c
+++ b/drivers/net/phy/mdio-gpio.c
@@ -26,10 +26,7 @@ 
 #include <linux/platform_device.h>
 #include <linux/mdio-bitbang.h>
 #include <linux/mdio-gpio.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
-
-#include <linux/of_gpio.h>
 #include <linux/of_mdio.h>
 
 struct mdio_gpio_info {