]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
phy: Fix node description of phy_get_by_node
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 1 May 2020 18:14:17 +0000 (23:44 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Sun, 10 May 2020 20:00:49 +0000 (01:30 +0530)
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>
include/generic-phy.h

index 55629ae0b41109a1d50f47c436a1c070d7691c04..6d7cf5303bf3956dea68270530ee2e2a32363f25 100644 (file)
@@ -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
  *