From: Jagan Teki <jagan@amarulasolutions.com>
Date: Fri, 1 May 2020 18:14:17 +0000 (+0530)
Subject: phy: Fix node description of phy_get_by_node
X-Git-Tag: v2025.01-rc5-pxa1908~2419^2~8
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/html/index.html?a=commitdiff_plain;h=cd3e01b14f34bcfb69927dc246c1de792c784468;p=u-boot.git

phy: Fix node description of phy_get_by_node

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@baylibre.com>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---

diff --git a/include/generic-phy.h b/include/generic-phy.h
index 55629ae0b4..6d7cf5303b 100644
--- a/include/generic-phy.h
+++ b/include/generic-phy.h
@@ -215,7 +215,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
  *