net: phy: remove phy_ethtool_sset()
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 22 Nov 2019 12:37:08 +0000 (12:37 +0000)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 23 Nov 2019 18:46:26 +0000 (10:46 -0800)
commite3cf8b3668a808c1d252269ffc34a5723cfb9a7b
treed9f12ae3ac7a7685c908dd5a1e85bf7f8c0cf08d
parent84bb46cd62283cc371769ec1f77ff7924099f584
net: phy: remove phy_ethtool_sset()

There are no users of phy_ethtool_sset() in the kernel anymore, and
as of commit 3c1bcc8614db ("net: ethernet: Convert phydev advertize
and supported from u32 to link mode"), the implementation is slightly
buggy - it doesn't correctly check the masked advertising mask as it
used to.

Remove it, and update the phy documentation to refer to its replacement
function.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Documentation/networking/phy.rst
drivers/net/phy/phy.c
include/linux/phy.h