Skip to contentSkip to conversation

phy: core: Fix documentation of of_phy_get

PATCH Applied Miaoqian Lin 2 participants 2 messages Jun 26, 2024 – Jul 2, 2024 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: core: Fix documentation of of_phy_get

of_phy_put is used for of_phy_get to release the reference count.

---
 drivers/phy/phy-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/phy-core.c +1 -1
index bf6a07590321..f053b525ccff 100644
@@ -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
  * -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)
 {
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 3 lines · Miaoqian Lin

of_phy_put is used for of_phy_get to release the reference count.

Applied, thanks!

[1/1] phy: core: Fix documentation of of_phy_get

      commit: 4c75fe2a5ec409b773ed5edb0e83e2f0a88d1138

Best regards,

Signature · 1 line
Vinod Koul <[email protected]>