aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2021-02-17 12:25:57 -0800
committerDavid S. Miller <davem@davemloft.net>2021-02-17 13:17:49 -0800
commit96313e1db8e5629cc2217616dca78f03e6463008 (patch)
tree7e8e00cc0b80ff746b200f8138e600f7a0d73ca3 /Documentation
parentnet: mscc: ocelot: select PACKING in the Kconfig (diff)
downloadlinux-dev-96313e1db8e5629cc2217616dca78f03e6463008.tar.xz
linux-dev-96313e1db8e5629cc2217616dca78f03e6463008.zip
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')
-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,