net: mvneta: drop use of phylink_helper_basex_speed()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 27 Oct 2021 09:03:53 +0000 (10:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Oct 2021 13:50:11 +0000 (14:50 +0100)
commit099cbfa286ab937d8213c2dc5c0b401969b78042
tree1bb382b575f77c727ebe9d28cb03682ff8f0aa6c
parentd9ca72807ecb236f679b960c70ef5b7d4a5f0222
net: mvneta: drop use of phylink_helper_basex_speed()

Now that we have a better method to select SFP interface modes, we
no longer need to use phylink_helper_basex_speed() in a driver's
validation function, and we can also get rid of our hack to indicate
both 1000base-X and 2500base-X if the comphy is present to make that
work. Remove this hack and use of phylink_helper_basex_speed().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c