aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2018-01-21 13:12:43 +0100
committerLinus Walleij <[email protected]>2018-09-11 13:54:41 +0200
commit8734fae64eb0fdaf7cfd0599f4fbf747697006f6 (patch)
treeaeb38b2b58068a1a11d609bff1ef2bbeff7559f3
parent6953c57ab1721ce57914fc5741d0ce0568756bb0 (diff)
gpio: of: make example syntactically correct
The ';' was missing. And cosmetic: there was a space too much. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
index a7c31de29362..0451f612ff2b 100644
--- a/Documentation/devicetree/bindings/gpio/gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio.txt
@@ -33,12 +33,12 @@ The following example could be used to describe GPIO pins used as device enable
and bit-banged data signals:
gpio1: gpio1 {
- gpio-controller
- #gpio-cells = <2>;
+ gpio-controller;
+ #gpio-cells = <2>;
};
gpio2: gpio2 {
- gpio-controller
- #gpio-cells = <1>;
+ gpio-controller;
+ #gpio-cells = <1>;
};
[...]