]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: core: fix introduce uclass_get_device_by_of_path
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 2 May 2023 02:59:18 +0000 (04:59 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 4 May 2023 07:57:43 +0000 (09:57 +0200)
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>
include/dm/uclass.h

index 5c5fb9acac090632697f52af935587a9c10a849a..456eef7f2f319ec07132d9e567b2d958efe58013 100644 (file)
@@ -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
  */