summaryrefslogtreecommitdiff
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-08-17 22:34:50 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-17 22:34:50 +0300
commit59d0f749bf3e6fea1ba3f9860ccf8b9ae7b3bb0e (patch)
tree9bb548f6da088ffdad8a3f31e33d5e4b203a7507 /include/linux/phy.h
parenta4d2113e46c1d2ded1bfed9a19fe17b5ab2d584c (diff)
parent4b9cb2a5ceedd7f715d92570b773fad024ca9950 (diff)
downloadlinux-59d0f749bf3e6fea1ba3f9860ccf8b9ae7b3bb0e.tar.xz
Merge branch 'net-phy-remove-genphy_config_init'
Heiner Kallweit says: ==================== net: phy: remove genphy_config_init Supported PHY features are either auto-detected or explicitly set. In both cases calling genphy_config_init isn't needed. All that genphy_config_init does is removing features that are set as supported but can't be auto-detected. Basically it duplicates the code in genphy_read_abilities. Therefore remove genphy_config_init. v2: - remove call also from new adin driver v3: - pass NULL as config_init function pointer for dp83848 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r--include/linux/phy.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 5ac7d21375ac..d26779f1fb6b 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -1069,7 +1069,6 @@ void phy_attached_print(struct phy_device *phydev, const char *fmt, ...)
void phy_attached_info(struct phy_device *phydev);
/* Clause 22 PHY */
-int genphy_config_init(struct phy_device *phydev);
int genphy_read_abilities(struct phy_device *phydev);
int genphy_setup_forced(struct phy_device *phydev);
int genphy_restart_aneg(struct phy_device *phydev);