gpio: of: make example syntactically correct
Subsystems (2)
PATCH 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]>
---
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
Hi Wolfram,
Thanks for your patch.
Quoted 3 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]>
Quoted 32 lines
---
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 · 2 lines
-- 2.11.0
Signature · 2 lines
Regards, Niklas Söderlund