net: phylink: remove phylink_set_pcs()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 26 Feb 2022 14:56:22 +0000 (14:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 11:57:49 +0000 (11:57 +0000)
commita5081bad2eac5108593ac36b6551201f0df9e897
tree4ed7b83ea44362cf84ab5af948683d395be32e9a
parentacf242fc739e8697f6231fe7b0d7078e9649a31b
net: phylink: remove phylink_set_pcs()

As all users of phylink_set_pcs() have now been updated to use the
mac_select_pcs() method, it can be removed from the phylink kernel
API and its functionality moved into phylink_major_config().

Removing phylink_set_pcs() gives us a single approach for attaching
a PCS within phylink.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h