]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: phy: mdio-gpio: Cut surplus includes
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Jun 2018 11:19:03 +0000 (13:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jun 2018 22:23:55 +0000 (15:23 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c

index 4e4c8daf44c308285201ecc051bc4e535e03036e..33265747bf3994c668cfcb2a8f7f3d9f768d370a 100644 (file)
 #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 {