net: phy: mdio-gpio: remove support for ignoring turn around
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Apr 2018 23:02:52 +0000 (01:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 19:59:10 +0000 (15:59 -0400)
This is not needed any more by devices using platform data, so remove
it.

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

index 570b87b82abca70ad0ed1ab30acf94d91cf0eb2e..28ad9ca7b9e7676523f639d992607e07d5619124 100644 (file)
@@ -163,7 +163,6 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev,
        new_bus->name = "GPIO Bitbanged MDIO";
 
        new_bus->phy_mask = pdata->phy_mask;
-       new_bus->phy_ignore_ta_mask = pdata->phy_ignore_ta_mask;
        memcpy(new_bus->irq, pdata->irqs, sizeof(new_bus->irq));
        new_bus->parent = dev;
 
index 6e8f01a570f2f96ed2338d2d1a9d5b9bd625e840..b8f914a30126099336b0bb60540c5c8c7917dc64 100644 (file)
@@ -24,7 +24,6 @@ struct mdio_gpio_platform_data {
        bool mdo_active_low;
 
        u32 phy_mask;
-       u32 phy_ignore_ta_mask;
        int irqs[PHY_MAX_ADDR];
 };