summaryrefslogtreecommitdiffstats
path: root/Documentation/gpio
diff options
context:
space:
mode:
authorFabio Estevam2015-01-27 01:30:39 +0100
committerJonathan Corbet2015-01-28 19:14:00 +0100
commit4f7d45596e4d83a6411389be65ea67a58f493446 (patch)
treedd51f66c5ff4cd09bf0d930d3d062a7844b06eee /Documentation/gpio
parentDocumentation/SubmittingPatches: unify whitespace/tabs for the DCO (diff)
downloadkernel-qcow2-linux-4f7d45596e4d83a6411389be65ea67a58f493446.tar.gz
kernel-qcow2-linux-4f7d45596e4d83a6411389be65ea67a58f493446.tar.xz
kernel-qcow2-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