summaryrefslogtreecommitdiff
path: root/drivers/phy/phy-core.c
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2024-06-26 12:09:10 +0400
committerVinod Koul <vkoul@kernel.org>2024-07-02 18:49:32 +0530
commit4c75fe2a5ec409b773ed5edb0e83e2f0a88d1138 (patch)
tree1cc26e12c422131555fbdac6815dc60963e92f9b /drivers/phy/phy-core.c
parent8d2a3539517dbf13e970b3aabdf94b04a65d276c (diff)
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: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20240626080911.203630-1-linmq006@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/phy-core.c')
-rw-r--r--drivers/phy/phy-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c
index bf6a07590321..f053b525ccff 100644
--- a/drivers/phy/phy-core.c
+++ b/drivers/phy/phy-core.c
@@ -664,7 +664,7 @@ out_unlock:
*
* Returns the phy driver, after getting a refcount to it; or
* -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)
{