diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-02-17 23:25:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-18 00:17:49 +0300 |
commit | 96313e1db8e5629cc2217616dca78f03e6463008 (patch) | |
tree | 7e8e00cc0b80ff746b200f8138e600f7a0d73ca3 /Documentation/networking/sfp-phylink.rst | |
parent | 597565556581d59641c0be50acaae87f7391a91b (diff) | |
download | linux-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.rst | 2 |
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, |