[PATCH 0/2] fix description patches from 'Add DM support for omap PWM backlight' series

As suggested by Grygorii Strashko I have removed these patches from the 'Add DM support for omap PWM backlight' series and grouped them into this one. The patches have already been reviewed by Simon Glass.
Dario Binacchi (2): dm: core: improve uclass_get_device_by_phandle_id() description gpio: fix gpio_request_by_name() description
include/asm-generic/gpio.h | 2 +- include/dm/uclass.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)

Complete the devp parameter description.
Signed-off-by: Dario Binacchi dariobin@libero.it Reviewed-by: Simon Glass sjg@chromium.org ---
include/dm/uclass.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
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 */

On Sun, Oct 11, 2020 at 02:25:46PM +0200, Dario Binacchi wrote:
Complete the devp parameter description.
Signed-off-by: Dario Binacchi dariobin@libero.it Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!

Replace 'dev->dev' with '@desc->dev' in the gpio_request_by_name function desc parameter description.
Signed-off-by: Dario Binacchi dariobin@libero.it Reviewed-by: Simon Glass sjg@chromium.org
---
include/asm-generic/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 3ae1894a98..82294cbdc5 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h @@ -496,7 +496,7 @@ int gpio_claim_vector(const int *gpio_num_array, const char *fmt); * @list_name: Name of GPIO list (e.g. "board-id-gpios") * @index: Index number of the GPIO in that list use request (0=first) * @desc: Returns GPIO description information. If there is no such - * GPIO, dev->dev will be NULL. + * GPIO, @desc->dev will be NULL. * @flags: Indicates the GPIO input/output settings (GPIOD_...) * @return 0 if OK, -ENOENT if the GPIO does not exist, -EINVAL if there is * something wrong with the list, or other -ve for another error (e.g.

On Sun, Oct 11, 2020 at 02:25:47PM +0200, Dario Binacchi wrote:
Replace 'dev->dev' with '@desc->dev' in the gpio_request_by_name function desc parameter description.
Signed-off-by: Dario Binacchi dariobin@libero.it Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
participants (2)
-
Dario Binacchi
-
Tom Rini