Skip to contentSkip to conversation

gpio: of: make example syntactically correct

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

The ';' was missing. And cosmetic: there was a space too much.

---

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
index 802402f6cc5d89..bc5fe95d33fff0 100644
@@ -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
Reviewed-by on v2 1/1
#1 lore raw

Hi Wolfram,

Thanks for your patch.

Quoted 3 lines · Wolfram Sang

The ';' was missing. And cosmetic: there was a space too much.

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
index 802402f6cc5d89..bc5fe95d33fff0 100644
@@ -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