gpio: of: make example syntactically correct
Subsystems (2)
PATCH RESEND v2 1/1 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]>
---
No changes since V2, only Niklas' tag added.
Changes since V1:
* removed extra spaces (Thanks Sergei!)
Documentation/devicetree/bindings/gpio/gpio.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/gpio/gpio.txt +4 -4
@@ -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>; }; [...]
Signature · 1 line
2.11.0
CC LinusW
Quoted 5 lines · Wolfram Sang
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]>
Quoted 21 lines
---
No changes since V2, only Niklas' tag added.
Changes since V1:
* removed extra spaces (Thanks Sergei!)Documentation/devicetree/bindings/gpio/gpio.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Documentation/devicetree/bindings/gpio/gpio.txt +0
-2@@ -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>;
Documentation/devicetree/bindings/gpio/gpio.txt The following example could be used to describe GPIO pins used as device enable · line 42
Quoted 10 lines
Documentation/devicetree/bindings/gpio/gpio.txt +4
-2+ gpio-controller; + #gpio-cells = <2>; }; gpio2: gpio2 { - gpio-controller - #gpio-cells = <1>; + gpio-controller; + #gpio-cells = <1>; };
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 7 lines · Wolfram Sang
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]>---
No changes since V2, only Niklas' tag added.
Patch applied with Geert's ACK.
Yours,
Linus Walleij