diff mbox series

[1/2] phy: Fix node description of phy_get_by_node

Message ID 20200501181418.18645-1-jagan@amarulasolutions.com
State Accepted
Commit cd3e01b14f34bcfb69927dc246c1de792c784468
Headers show
Series [1/2] phy: Fix node description of phy_get_by_node | expand

Commit Message

Jagan Teki May 1, 2020, 6:14 p.m. UTC
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 mbox series

Patch

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
  *