diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-01-26 19:30:39 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-01-28 13:14:00 -0500 |
commit | 4f7d45596e4d83a6411389be65ea67a58f493446 (patch) | |
tree | dd51f66c5ff4cd09bf0d930d3d062a7844b06eee | |
parent | e00bfcbf043877fb85f77daf330a01e057dfcf3b (diff) |
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>
-rw-r--r-- | Documentation/gpio/board.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gpio/board.txt b/Documentation/gpio/board.txt index 4452786225b8..8b35f51fe7b6 100644 --- a/Documentation/gpio/board.txt +++ b/Documentation/gpio/board.txt | |||
@@ -31,7 +31,7 @@ through gpiod_get(). For example: | |||
31 | <&gpio 16 GPIO_ACTIVE_HIGH>, /* green */ | 31 | <&gpio 16 GPIO_ACTIVE_HIGH>, /* green */ |
32 | <&gpio 17 GPIO_ACTIVE_HIGH>; /* blue */ | 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 | This property will make GPIOs 15, 16 and 17 available to the driver under the | 37 | This property will make GPIOs 15, 16 and 17 available to the driver under the |