gpio: board.txt: Fix the gpio name example
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 27 Jan 2015 00:30:39 +0000 (22:30 -0200)
committerJonathan Corbet <corbet@lwn.net>
Wed, 28 Jan 2015 18:14:00 +0000 (11:14 -0700)
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>
Documentation/gpio/board.txt

index 4452786225b8d20a8de736dbd71c972e43b5d7b1..8b35f51fe7b6a3e8d11a2abc3104913794349cce 100644 (file)
@@ -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