gpio: of: make example syntactically correct
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 21 Jan 2018 12:12:43 +0000 (13:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 11 Sep 2018 11:54:41 +0000 (13:54 +0200)
The ';' was missing. And cosmetic: there was a space too much.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio.txt

index a7c31de2936202aa2fa9370934e6982ce5222deb..0451f612ff2b5c42ee457e390db629e5cbb723a5 100644 (file)
@@ -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>;
        };
        [...]