* [PATCH] net: phy: mdio-gpio: Cut surplus includes
@ 2018-06-11 11:19 Linus Walleij
2018-06-12 7:05 ` Andrew Lunn
2018-06-12 22:24 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2018-06-11 11:19 UTC (permalink / raw)
To: Andrew Lunn, Florian Fainelli; +Cc: netdev, Linus Walleij
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(-)
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 {
--
2.17.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: mdio-gpio: Cut surplus includes
2018-06-11 11:19 [PATCH] net: phy: mdio-gpio: Cut surplus includes Linus Walleij
@ 2018-06-12 7:05 ` Andrew Lunn
2018-06-12 22:24 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2018-06-12 7:05 UTC (permalink / raw)
To: Linus Walleij; +Cc: Florian Fainelli, netdev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: mdio-gpio: Cut surplus includes
2018-06-11 11:19 [PATCH] net: phy: mdio-gpio: Cut surplus includes Linus Walleij
2018-06-12 7:05 ` Andrew Lunn
@ 2018-06-12 22:24 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2018-06-12 22:24 UTC (permalink / raw)
To: linus.walleij; +Cc: andrew, f.fainelli, netdev
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-12 22:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-11 11:19 [PATCH] net: phy: mdio-gpio: Cut surplus includes Linus Walleij
2018-06-12 7:05 ` Andrew Lunn
2018-06-12 22:24 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).