diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-01-18 11:01:40 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-01-19 16:23:19 +0100 |
commit | da099a7fb13db67678ecfa03f8ac5df8134c991b (patch) | |
tree | 14d6fe479fb6623cdef8e4f11922adc3b053caf4 /drivers/net/ethernet/adi | |
parent | net: phy: Decide on C45 capabilities based on presence of method (diff) | |
download | linux-da099a7fb13db67678ecfa03f8ac5df8134c991b.tar.xz linux-da099a7fb13db67678ecfa03f8ac5df8134c991b.zip |
net: phy: Remove probe_capabilities
Deciding if to probe of PHYs using C45 is now determine by if the bus
provides the C45 read method. This makes probe_capabilities redundant
so remove it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/adi')
-rw-r--r-- | drivers/net/ethernet/adi/adin1110.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/adin1110.c b/drivers/net/ethernet/adi/adin1110.c index 0805f249fff2..25f55756681d 100644 --- a/drivers/net/ethernet/adi/adin1110.c +++ b/drivers/net/ethernet/adi/adin1110.c @@ -523,7 +523,6 @@ static int adin1110_register_mdiobus(struct adin1110_priv *priv, mii_bus->priv = priv; mii_bus->parent = dev; mii_bus->phy_mask = ~((u32)GENMASK(2, 0)); - mii_bus->probe_capabilities = MDIOBUS_C22; snprintf(mii_bus->id, MII_BUS_ID_SIZE, "%s", dev_name(dev)); ret = devm_mdiobus_register(dev, mii_bus); |