All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio: board.txt: Fix the gpio name example
@ 2015-01-27  0:30 Fabio Estevam
  2015-01-28  6:16 ` Alexandre Courbot
  2015-01-28 18:14 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2015-01-27  0:30 UTC (permalink / raw)
  To: linus.walleij; +Cc: gnurou, corbet, linux-gpio, Fabio Estevam

From: Fabio Estevam <fabio.estevam@freescale.com>

As explained in this file:

"GPIOs mappings are defined in the consumer device's node, in a property named
<function>-gpios"

So fix the example to match the convention.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 Documentation/gpio/board.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gpio/board.txt b/Documentation/gpio/board.txt
index 4452786..8b35f51 100644
--- a/Documentation/gpio/board.txt
+++ b/Documentation/gpio/board.txt
@@ -31,7 +31,7 @@ through gpiod_get(). For example:
 			    <&gpio 16 GPIO_ACTIVE_HIGH>, /* green */
 			    <&gpio 17 GPIO_ACTIVE_HIGH>; /* blue */
 
-		power-gpio = <&gpio 1 GPIO_ACTIVE_LOW>;
+		power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
 	};
 
 This property will make GPIOs 15, 16 and 17 available to the driver under the
-- 
1.9.1


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

* Re: [PATCH] gpio: board.txt: Fix the gpio name example
  2015-01-27  0:30 [PATCH] gpio: board.txt: Fix the gpio name example Fabio Estevam
@ 2015-01-28  6:16 ` Alexandre Courbot
  2015-01-28 18:14 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Courbot @ 2015-01-28  6:16 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Linus Walleij, Jonathan Corbet, linux-gpio, Fabio Estevam

On Tue, Jan 27, 2015 at 9:30 AM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> As explained in this file:
>
> "GPIOs mappings are defined in the consumer device's node, in a property named
> <function>-gpios"
>
> So fix the example to match the convention.

Acked-by: Alexandre Courbot <acourbot@nvidia.com>

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

* Re: [PATCH] gpio: board.txt: Fix the gpio name example
  2015-01-27  0:30 [PATCH] gpio: board.txt: Fix the gpio name example Fabio Estevam
  2015-01-28  6:16 ` Alexandre Courbot
@ 2015-01-28 18:14 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2015-01-28 18:14 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linus.walleij, gnurou, linux-gpio, Fabio Estevam

On Mon, 26 Jan 2015 22:30:39 -0200
Fabio Estevam <festevam@gmail.com> wrote:

> As explained in this file:
> 
> "GPIOs mappings are defined in the consumer device's node, in a property named
> <function>-gpios"
> 
> So fix the example to match the convention.

OK, I've applied this to the docs tree, thanks.

jon

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

end of thread, other threads:[~2015-01-28 20:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-27  0:30 [PATCH] gpio: board.txt: Fix the gpio name example Fabio Estevam
2015-01-28  6:16 ` Alexandre Courbot
2015-01-28 18:14 ` Jonathan Corbet

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.