diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-04-19 02:02:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 22:59:10 +0300 |
commit | 9e4d60938a2b2aae3c2c213c923d9eb8d0a87ba2 (patch) | |
tree | b8a1e77568626f1b22bda208eea57fff9bbb0940 /drivers/net | |
parent | 712e5a5ce774a1542a09687441be7be456fe8b62 (diff) | |
download | linux-9e4d60938a2b2aae3c2c213c923d9eb8d0a87ba2.tar.xz |
net: phy: mdio-gpio: Remove reset function
The platform data can contain a function to call to reset
the bit banging interface. It is not used, so remove it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/phy/mdio-gpio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index 369f5f35d6fd..570b87b82abc 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c @@ -141,7 +141,6 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev, goto out; bitbang->ctrl.ops = &mdio_gpio_ops; - bitbang->ctrl.reset = pdata->reset; mdc = pdata->mdc; bitbang->mdc = gpio_to_desc(mdc); if (pdata->mdc_active_low) |