All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fix description patches from 'Add DM support for omap PWM backlight' series
@ 2020-10-11 12:25 Dario Binacchi
  2020-10-11 12:25 ` [PATCH 1/2] dm: core: improve uclass_get_device_by_phandle_id() description Dario Binacchi
  2020-10-11 12:25 ` [PATCH 2/2] gpio: fix gpio_request_by_name() description Dario Binacchi
  0 siblings, 2 replies; 5+ messages in thread
From: Dario Binacchi @ 2020-10-11 12:25 UTC (permalink / raw)
  To: u-boot


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(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] dm: core: improve uclass_get_device_by_phandle_id() description
  2020-10-11 12:25 [PATCH 0/2] fix description patches from 'Add DM support for omap PWM backlight' series Dario Binacchi
@ 2020-10-11 12:25 ` Dario Binacchi
  2020-10-23  0:29   ` Tom Rini
  2020-10-11 12:25 ` [PATCH 2/2] gpio: fix gpio_request_by_name() description Dario Binacchi
  1 sibling, 1 reply; 5+ messages in thread
From: Dario Binacchi @ 2020-10-11 12:25 UTC (permalink / raw)
  To: u-boot

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
  */
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] gpio: fix gpio_request_by_name() description
  2020-10-11 12:25 [PATCH 0/2] fix description patches from 'Add DM support for omap PWM backlight' series Dario Binacchi
  2020-10-11 12:25 ` [PATCH 1/2] dm: core: improve uclass_get_device_by_phandle_id() description Dario Binacchi
@ 2020-10-11 12:25 ` Dario Binacchi
  2020-10-23  0:29   ` Tom Rini
  1 sibling, 1 reply; 5+ messages in thread
From: Dario Binacchi @ 2020-10-11 12:25 UTC (permalink / raw)
  To: u-boot

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.
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 1/2] dm: core: improve uclass_get_device_by_phandle_id() description
  2020-10-11 12:25 ` [PATCH 1/2] dm: core: improve uclass_get_device_by_phandle_id() description Dario Binacchi
@ 2020-10-23  0:29   ` Tom Rini
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2020-10-23  0:29 UTC (permalink / raw)
  To: u-boot

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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201022/19f8463e/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] gpio: fix gpio_request_by_name() description
  2020-10-11 12:25 ` [PATCH 2/2] gpio: fix gpio_request_by_name() description Dario Binacchi
@ 2020-10-23  0:29   ` Tom Rini
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2020-10-23  0:29 UTC (permalink / raw)
  To: u-boot

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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201022/53e9432b/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-23  0:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-11 12:25 [PATCH 0/2] fix description patches from 'Add DM support for omap PWM backlight' series Dario Binacchi
2020-10-11 12:25 ` [PATCH 1/2] dm: core: improve uclass_get_device_by_phandle_id() description Dario Binacchi
2020-10-23  0:29   ` Tom Rini
2020-10-11 12:25 ` [PATCH 2/2] gpio: fix gpio_request_by_name() description Dario Binacchi
2020-10-23  0:29   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.