Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Miaoqian Lin and committed by
Vinod Koul
4c75fe2a 8d2a3539

+1 -1
+1 -1
drivers/phy/phy-core.c
··· 664 664 * 665 665 * Returns the phy driver, after getting a refcount to it; or 666 666 * -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. 668 668 */ 669 669 struct phy *of_phy_get(struct device_node *np, const char *con_id) 670 670 {