[PATCH 1/2] phy: Fix node description of phy_get_by_node
Jagan Teki
jagan at amarulasolutions.com
Fri May 1 20:14:17 CEST 2020
node is most of device related API's are termed as device
node and without device related API's are termed as ofnode.
generic_phy_get_by_node API is without device API, so fixed
the node description as ofnode.
Cc: Neil Armstrong <narmstrong at baylibre.com>
Cc: Tom Rini <trini at konsulko.com>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
include/generic-phy.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/generic-phy.h b/include/generic-phy.h
index 73537025c2..e30440d35e 100644
--- a/include/generic-phy.h
+++ b/include/generic-phy.h
@@ -198,7 +198,7 @@ int generic_phy_get_by_index(struct udevice *user, int index,
/**
* generic_phy_get_by_node() - Get a PHY device by integer index on ofnode
*
- * @node: the device node
+ * @node: The client ofnode.
* @index: The index in the list of available PHYs
* @phy: A pointer to the PHY port
*
--
2.17.1
More information about the U-Boot
mailing list