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 a7c31de..0451f61 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>;
        };
        [...]