diff options
author | Dario Binacchi <dariobin@libero.it> | 2020-10-11 14:25:46 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 11:26:14 -0400 |
commit | 2d1a43be4ee2a249f8ea2ff8eed464acd92e4a0a (patch) | |
tree | 3e80c194fd2c10a883773ec6048aeed5b020e94a | |
parent | 0e3eb476056a0a6537a3860d0c6bd356d0f6df7c (diff) |
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>
-rw-r--r-- | include/dm/uclass.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dm/uclass.h b/include/dm/uclass.h index 67ff7466c8..7188304304 100644 --- a/include/dm/uclass.h +++ b/include/dm/uclass.h @@ -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 */ |