Skip to contentSkip to conversation

gpio: of: make example syntactically correct

PATCH Superseded Wolfram Sang 2 participants 2 messages Dec 22, 2017 – Dec 23, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: of: make example syntactically correct

The ';' was missing.

---
 Documentation/devicetree/bindings/gpio/gpio.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/gpio/gpio.txt +2 -2
index 802402f6cc5d89..53e0a0e01a4ee0 100644
@@ -33,11 +33,11 @@ The following example could be used to describe GPIO pins used as device enable
 and bit-banged data signals:
 
 	gpio1: gpio1 {
-		gpio-controller
+		gpio-controller;
 		 #gpio-cells = <2>;
 	};
 	gpio2: gpio2 {
-		gpio-controller
+		gpio-controller;
 		 #gpio-cells = <1>;
 	};
 	[...]
Signature · 1 line
2.11.0
#1 lore raw

Hello!

Quoted 12 lines · Wolfram Sang

The ';' was missing.

---
  Documentation/devicetree/bindings/gpio/gpio.txt | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/gpio/gpio.txt +0 -0
index 802402f6cc5d89..53e0a0e01a4ee0 100644

Documentation/devicetree/bindings/gpio/gpio.txt The following example could be used to describe GPIO pins used as device enable · line 37

Quoted 6 lines
Documentation/devicetree/bindings/gpio/gpio.txt +1 -1
@@ -33,11 +33,11 @@ The following example could be used to describe GPIO pins used as device enable
  and bit-banged data signals:
 
  	gpio1: gpio1 {
-		gpio-controller
+		gpio-controller;
  		 #gpio-cells = <2>;

Could as well remove extra space on this line...

Documentation/devicetree/bindings/gpio/gpio.txt The following example could be used to describe GPIO pins used as device enable · line 41

Quoted 5 lines
Documentation/devicetree/bindings/gpio/gpio.txt +1 -1
  	};
  	gpio2: gpio2 {
-		gpio-controller
+		gpio-controller;
  		 #gpio-cells = <1>;

... and this.

[...]

MBR, Sergei