summaryrefslogtreecommitdiff
path: root/drivers/net/phy/mdio-gpio.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-04-19 01:02:50 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-19 15:59:10 -0400
commit9e4d60938a2b2aae3c2c213c923d9eb8d0a87ba2 (patch)
treeb8a1e77568626f1b22bda208eea57fff9bbb0940 /drivers/net/phy/mdio-gpio.c
parent712e5a5ce774a1542a09687441be7be456fe8b62 (diff)
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/phy/mdio-gpio.c')
-rw-r--r--drivers/net/phy/mdio-gpio.c1
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)