Commit 4c75fe2a authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Vinod Koul

phy: core: Fix documentation of of_phy_get

of_phy_put is used for of_phy_get to release the reference count.
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20240626080911.203630-1-linmq006@gmail.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8d2a3539
...@@ -664,7 +664,7 @@ static struct phy *_of_phy_get(struct device_node *np, int index) ...@@ -664,7 +664,7 @@ static struct phy *_of_phy_get(struct device_node *np, int index)
* *
* Returns the phy driver, after getting a refcount to it; or * Returns the phy driver, after getting a refcount to it; or
* -ENODEV if there is no such phy. The caller is responsible for * -ENODEV if there is no such phy. The caller is responsible for
* calling phy_put() to release that count. * calling of_phy_put() to release that count.
*/ */
struct phy *of_phy_get(struct device_node *np, const char *con_id) struct phy *of_phy_get(struct device_node *np, const char *con_id)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment