summaryrefslogtreecommitdiffstats
path: root/Documentation/gpio
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-01-26 22:30:39 -0200
committerJonathan Corbet <corbet@lwn.net>2015-01-28 11:14:00 -0700
commit4f7d45596e4d83a6411389be65ea67a58f493446 (patch)
treedd51f66c5ff4cd09bf0d930d3d062a7844b06eee /Documentation/gpio
parente00bfcbf043877fb85f77daf330a01e057dfcf3b (diff)
downloadlinux-4f7d45596e4d83a6411389be65ea67a58f493446.tar.gz
linux-4f7d45596e4d83a6411389be65ea67a58f493446.tar.bz2
linux-4f7d45596e4d83a6411389be65ea67a58f493446.zip
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>
Diffstat (limited to 'Documentation/gpio')
-rw-r--r--Documentation/gpio/board.txt2
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:
<&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