Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: board.txt: Fix the gpio name example

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>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Fabio Estevam and committed by
Jonathan Corbet
4f7d4559 e00bfcbf

+1 -1
+1 -1
Documentation/gpio/board.txt
··· 31 31 <&gpio 16 GPIO_ACTIVE_HIGH>, /* green */ 32 32 <&gpio 17 GPIO_ACTIVE_HIGH>; /* blue */ 33 33 34 - power-gpio = <&gpio 1 GPIO_ACTIVE_LOW>; 34 + power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 35 35 }; 36 36 37 37 This property will make GPIOs 15, 16 and 17 available to the driver under the