net: phy: mdio-gpio: Remove redundant platform data header
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Apr 2018 23:02:59 +0000 (01:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 19:59:11 +0000 (15:59 -0400)
The platform data header file is now unused. Remove it, but add
an extra include which it brought in.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/phy/mdio-gpio.c
include/linux/platform_data/mdio-gpio.h [deleted file]

index b60179d948bbf79aac8a8ae15f7ff3f91b4f0cce..a7321687cae973a8a7a1c41e6ffbe824f98c12fd 100644 (file)
@@ -5321,7 +5321,6 @@ F:        include/linux/*mdio*.h
 F:     include/linux/of_net.h
 F:     include/linux/phy.h
 F:     include/linux/phy_fixed.h
-F:     include/linux/platform_data/mdio-gpio.h
 F:     include/linux/platform_data/mdio-bcm-unimac.h
 F:     include/trace/events/mdio.h
 F:     include/uapi/linux/mdio.h
index 281c905ef9fdc80f8f96c812ff106564db8d0745..b501221819e12e32a841d46f369d50744d42415a 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/mdio-bitbang.h>
 #include <linux/mdio-gpio.h>
 #include <linux/gpio.h>
-#include <linux/platform_data/mdio-gpio.h>
+#include <linux/gpio/consumer.h>
 
 #include <linux/of_gpio.h>
 #include <linux/of_mdio.h>
diff --git a/include/linux/platform_data/mdio-gpio.h b/include/linux/platform_data/mdio-gpio.h
deleted file mode 100644 (file)
index bd91fa9..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * MDIO-GPIO bus platform data structures
- *
- * Copyright (C) 2008, Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- */
-
-#ifndef __LINUX_MDIO_GPIO_H
-#define __LINUX_MDIO_GPIO_H
-
-#include <linux/mdio-bitbang.h>
-
-struct mdio_gpio_platform_data {
-       /* GPIO numbers for bus pins */
-       struct gpio_desc *mdc;
-       struct gpio_desc *mdio;
-       struct gpio_desc *mdo;
-};
-
-#endif /* __LINUX_MDIO_GPIO_H */