aboutsummaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-05-02 04:59:18 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-05-04 09:57:43 +0200
commitf8816a8a9189250e4513d5cd15d1db657f9549a1 (patch)
tree07533219a94e907e4755c5f06248cedb125d9a4e /include/dm
parentd0d0e776cf433ede6711e2c7d5bdf5866381b555 (diff)
downloadu-boot-f8816a8a9189250e4513d5cd15d1db657f9549a1.zip
u-boot-f8816a8a9189250e4513d5cd15d1db657f9549a1.tar.gz
u-boot-f8816a8a9189250e4513d5cd15d1db657f9549a1.tar.bz2
dm: core: fix introduce uclass_get_device_by_of_path
Correct the function documentation. Fixes: ca031c082700 ("dm: core: introduce uclass_get_device_by_of_path()") Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 5c5fb9a..456eef7 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -274,7 +274,7 @@ int uclass_get_device_by_ofnode(enum uclass_id id, ofnode node,
* The device is probed to activate it ready for use.
*
* @id: ID to look up
- * @node: Device tree path to search for (if no such path then -ENODEV is returned)
+ * @path: Device tree path to search for (if no such path then -ENODEV is returned)
* @devp: Returns pointer to device (there is only one for each node)
* Return: 0 if OK, -ve on error
*/