The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] phy: core: Fix documentation of of_phy_get
@ 2024-06-26  8:09 Miaoqian Lin
  2024-07-02 13:36 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Miaoqian Lin @ 2024-06-26  8:09 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I, linux-phy, linux-kernel; +Cc: linmq006

of_phy_put is used for of_phy_get to release the reference count.

Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
---
 drivers/phy/phy-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ 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)
 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] phy: core: Fix documentation of of_phy_get
  2024-06-26  8:09 [PATCH] phy: core: Fix documentation of of_phy_get Miaoqian Lin
@ 2024-07-02 13:36 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2024-07-02 13:36 UTC (permalink / raw)
  To: Kishon Vijay Abraham I, linux-phy, linux-kernel, Miaoqian Lin


On Wed, 26 Jun 2024 12:09:10 +0400, Miaoqian Lin wrote:
> 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,
-- 
Vinod Koul <vkoul@kernel.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-02 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26  8:09 [PATCH] phy: core: Fix documentation of of_phy_get Miaoqian Lin
2024-07-02 13:36 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox