diff mbox series

[23/31] dm: core: improve uclass_get_device_by_phandle_id() description

Message ID 20200825092124.4284-24-dariobin@libero.it
State Changes Requested
Delegated to: Lokesh Vutla
Headers show
Series Add DM support for omap PWM backlight | expand

Commit Message

Dario Binacchi Aug. 25, 2020, 9:21 a.m. UTC
Complete the devp parameter description.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
---

 include/dm/uclass.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Simon Glass Aug. 29, 2020, 9:20 p.m. UTC | #1
On Tue, 25 Aug 2020 at 03:25, Dario Binacchi <dariobin@libero.it> wrote:
>
> Complete the devp parameter description.
>
> Signed-off-by: Dario Binacchi <dariobin@libero.it>
> ---
>
>  include/dm/uclass.h | 3 ++-
>  1 file changed, 2 insertions(+), 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 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
  */