Skip to content

Commit 4c75fe2

Browse files
Yuuoniyvinodkoul
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 8d2a353 commit 4c75fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/phy/phy-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ static struct phy *_of_phy_get(struct device_node *np, int index)
664664
*
665665
* Returns the phy driver, after getting a refcount to it; or
666666
* -ENODEV if there is no such phy. The caller is responsible for
667-
* calling phy_put() to release that count.
667+
* calling of_phy_put() to release that count.
668668
*/
669669
struct phy *of_phy_get(struct device_node *np, const char *con_id)
670670
{

0 commit comments

Comments
 (0)