net: ethernet: mtk_eth_soc: remove mac_pcs_get_state and modernise
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 22 Jul 2023 20:32:54 +0000 (21:32 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Jul 2023 13:02:03 +0000 (15:02 +0200)
commit28e1737d2544536c23fc71d3a7f24ce8c9f08eb1
tree1628fe79d842bebdcd759c0fdbe6d2be94606867
parent76a4cb755cf911ad5acdb82f7228a9e22addf52b
net: ethernet: mtk_eth_soc: remove mac_pcs_get_state and modernise

Remove the .mac_pcs_get_state function, since as far as I can tell is
never called - no DT appears to specify an in-band-status management
nor SFP support for this driver.

Removal of this, along with the previous patch to remove the incorrect
clocking configuration, means that the driver becomes non-legacy, so
we can remove the "legacy_pre_march2020" status from this driver.

Reviewed-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mediatek/mtk_eth_soc.c