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 <[email protected]>
Cc: Tom Rini <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
---
 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

Reply via email to