net: phy: mdio-gpio: Swap to using gpio descriptors
This simplifies the code, removing the need to handle active low flags, etc. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
68abb4f25d
commit
c82fc4814a
@@ -15,13 +15,9 @@
|
||||
|
||||
struct mdio_gpio_platform_data {
|
||||
/* GPIO numbers for bus pins */
|
||||
unsigned int mdc;
|
||||
unsigned int mdio;
|
||||
unsigned int mdo;
|
||||
|
||||
bool mdc_active_low;
|
||||
bool mdio_active_low;
|
||||
bool mdo_active_low;
|
||||
struct gpio_desc *mdc;
|
||||
struct gpio_desc *mdio;
|
||||
struct gpio_desc *mdo;
|
||||
};
|
||||
|
||||
#endif /* __LINUX_MDIO_GPIO_H */
|
||||
|
Reference in New Issue
Block a user