diff mbox series

[1/1] dm: core: fix introduce uclass_get_device_by_of_path

Message ID 20230502025918.141377-1-heinrich.schuchardt@canonical.com
State Accepted, archived
Commit f8816a8a9189250e4513d5cd15d1db657f9549a1
Delegated to: Heinrich Schuchardt
Headers show
Series [1/1] dm: core: fix introduce uclass_get_device_by_of_path | expand

Commit Message

Heinrich Schuchardt May 2, 2023, 2:59 a.m. UTC
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>
---
 include/dm/uclass.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass May 2, 2023, 5:12 p.m. UTC | #1
On Mon, 1 May 2023 at 20:59, Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> 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>
> ---
>  include/dm/uclass.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 5c5fb9acac..456eef7f2f 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
  */