net: phylink: remove legacy mac_an_restart() method
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 14 Jul 2023 09:12:17 +0000 (10:12 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Jul 2023 07:47:09 +0000 (09:47 +0200)
commit76226787e137962750241bb29a9572dfc10d9eb1
treea6e7845cabb15be28ac832734c6cee6d6f48f95c
parent8f42c07fb0f208150676e2e7b6b0482522b304c9
net: phylink: remove legacy mac_an_restart() method

The mac_an_restart() method is now completely unused, and has been
superseded by phylink_pcs support. Remove this method.

Since phylink_pcs_mac_an_restart() now only deals with the PCS, rename
the function to remove the _mac infix.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/phylink.c
include/linux/phylink.h