mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-05 14:21:37 +00:00
dm: core: improve uclass_get_device_by_phandle_id() description
Complete the devp parameter description. Signed-off-by: Dario Binacchi <dariobin@libero.it> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
0e3eb47605
commit
2d1a43be4e
1 changed files with 2 additions and 1 deletions
|
@ -224,7 +224,8 @@ int uclass_get_device_by_ofnode(enum uclass_id id, ofnode node,
|
|||
*
|
||||
* @id: uclass ID to look up
|
||||
* @phandle_id: the phandle id to look up
|
||||
* @devp: Returns pointer to device (there is only one for each node)
|
||||
* @devp: Returns pointer to device (there is only one for each node). NULL if
|
||||
* there is no such device.
|
||||
* @return 0 if OK, -ENODEV if there is no device match the phandle, other
|
||||
* -ve on error
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue