summaryrefslogtreecommitdiff
path: root/Documentation/networking/sfp-phylink.rst
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2021-02-17 23:25:57 +0300
committerDavid S. Miller <davem@davemloft.net>2021-02-18 00:17:49 +0300
commit96313e1db8e5629cc2217616dca78f03e6463008 (patch)
tree7e8e00cc0b80ff746b200f8138e600f7a0d73ca3 /Documentation/networking/sfp-phylink.rst
parent597565556581d59641c0be50acaae87f7391a91b (diff)
downloadlinux-96313e1db8e5629cc2217616dca78f03e6463008.tar.xz
net: mdio: Remove of_phy_attach()
We have no in-tree users, also update the sfp-phylink.rst documentation to indicate that phy_attach_direct() is used instead of of_phy_attach(). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/sfp-phylink.rst')
-rw-r--r--Documentation/networking/sfp-phylink.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/sfp-phylink.rst b/Documentation/networking/sfp-phylink.rst
index 5aec7c8857d0..328f8d39eeb3 100644
--- a/Documentation/networking/sfp-phylink.rst
+++ b/Documentation/networking/sfp-phylink.rst
@@ -163,7 +163,7 @@ this documentation.
err = phylink_of_phy_connect(priv->phylink, node, flags);
For the most part, ``flags`` can be zero; these flags are passed to
- the of_phy_attach() inside this function call if a PHY is specified
+ the phy_attach_direct() inside this function call if a PHY is specified
in the DT node ``node``.
``node`` should be the DT node which contains the network phy property,