mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
dm: core: fix introduce uclass_get_device_by_of_path
Correct the function documentation.
Fixes: ca031c0827
("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>
This commit is contained in:
parent
d0d0e776cf
commit
f8816a8a91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue