]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34e95a2663aae5bdc6c763a7f693b7f878a47518
tree4ed7b83ea44362cf84ab5af948683d395be32e9a
parentb19dd43419dd5eee7295a78f8423ed7e1467f6b9
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