Skip to contentSkip to conversation

dt: bindings: as3645a: Fix the example node

PATCH Superseded Dan Murphy 3 participants 6 messages Dec 5, 2017 – Dec 27, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Dan Murphy

author
#0 lore raw

PATCH 1/1 dt: bindings: as3645a: Fix the example node

Fix the address-cells and size-cells example node
to reflect to the correct representation.

---
 Documentation/devicetree/bindings/leds/ams,as3645a.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/leds/ams,as3645a.txt +2 -2
index fdc40e354a64..8a49ccfec29b 100644
@@ -59,8 +59,8 @@ Example
 =======
 
 	as3645a@30 {
-		#address-cells: 1
-		#size-cells: 0
+		#address-cells = <1>;
+		#size-cells = <0>;
 		reg = <0x30>;
 		compatible = "ams,as3645a";
 		flash@0 {
Signature · 6 lines
2.15.0.124.g7668cbc60

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#1 lore raw

+Sakari driver maintainer

Quoted 24 lines · Dan Murphy

Fix the address-cells and size-cells example node
to reflect to the correct representation.

---
 Documentation/devicetree/bindings/leds/ams,as3645a.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/leds/ams,as3645a.txt +2 -2
index fdc40e354a64..8a49ccfec29b 100644
@@ -59,8 +59,8 @@ Example
 =======
 
 	as3645a@30 {
-		#address-cells: 1
-		#size-cells: 0
+		#address-cells = <1>;
+		#size-cells = <0>;
 		reg = <0x30>;
 		compatible = "ams,as3645a";
 		flash@0 {
Signature · 6 lines
------------------
Dan Murphy
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#2 lore raw
In reply to Dan Murphy
Quoted 13 lines · Dan Murphy

Fix the address-cells and size-cells example node
to reflect to the correct representation.

---
 Documentation/devicetree/bindings/leds/ams,as3645a.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/leds/ams,as3645a.txt +0 -0
index fdc40e354a64..8a49ccfec29b 100644

Documentation/devicetree/bindings/leds/ams,as3645a.txt Example · line 65

Quoted 9 lines
Documentation/devicetree/bindings/leds/ams,as3645a.txt +2 -2
@@ -59,8 +59,8 @@ Example
 =======
 
 	as3645a@30 {
-		#address-cells: 1
-		#size-cells: 0
+		#address-cells = <1>;
+		#size-cells = <0>;
 		reg = <0x30>;
 		compatible = "ams,as3645a";

Convention is also we put compatible first.

Quoted 4 lines
Documentation/devicetree/bindings/leds/ams,as3645a.txt +0 -0
 		flash@0 {
Signature · 1 line
2.15.0.124.g7668cbc60
author
#3 lore raw

Rob

Quoted 16 lines · Rob Herring
Quoted 15 lines · Dan Murphy

Fix the address-cells and size-cells example node
to reflect to the correct representation.

---
 Documentation/devicetree/bindings/leds/ams,as3645a.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/leds/ams,as3645a.txt +0 -0
index fdc40e354a64..8a49ccfec29b 100644
@@ -59,8 +59,8 @@ Example
 =======
 
Quoted 10 lines

Documentation/devicetree/bindings/leds/ams,as3645a.txt Example · line 65

Quoted 7 lines
Documentation/devicetree/bindings/leds/ams,as3645a.txt +2 -2
 	as3645a@30 {
-		#address-cells: 1
-		#size-cells: 0
+		#address-cells = <1>;
+		#size-cells = <0>;
 		reg = <0x30>;
 		compatible = "ams,as3645a";

Convention is also we put compatible first.

OK I will move that too for v2.

Can that be in the same patch or do you want a separate patch?

Dan

Quoted 4 lines
Quoted 4 lines
Documentation/devicetree/bindings/leds/ams,as3645a.txt +0 -0
 		flash@0 {
Signature · 1 line
2.15.0.124.g7668cbc60
Signature · 6 lines
------------------
Dan Murphy
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#4 lore raw
Quoted 30 lines · Dan Murphy

Rob

Quoted 16 lines · Rob Herring
Quoted 15 lines · Dan Murphy

Fix the address-cells and size-cells example node
to reflect to the correct representation.

---
 Documentation/devicetree/bindings/leds/ams,as3645a.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/leds/ams,as3645a.txt +0 -0
index fdc40e354a64..8a49ccfec29b 100644
@@ -59,8 +59,8 @@ Example
 =======
 
Quoted 10 lines

Documentation/devicetree/bindings/leds/ams,as3645a.txt Example · line 65

Quoted 7 lines
Documentation/devicetree/bindings/leds/ams,as3645a.txt +2 -2
     as3645a@30 {
-            #address-cells: 1
-            #size-cells: 0
+            #address-cells = <1>;
+            #size-cells = <0>;
             reg = <0x30>;
             compatible = "ams,as3645a";

Convention is also we put compatible first.

Quoted 3 lines

OK I will move that too for v2.

Can that be in the same patch or do you want a separate patch?

Same patch is fine.

Rob

#5 lore raw
Quoted 31 lines · Rob Herring
Quoted 30 lines · Dan Murphy

Rob

Quoted 26 lines · Rob Herring
Quoted 13 lines · Dan Murphy

Fix the address-cells and size-cells example node
to reflect to the correct representation.

---
 Documentation/devicetree/bindings/leds/ams,as3645a.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/leds/ams,as3645a.txt +0 -0
index fdc40e354a64..8a49ccfec29b 100644

Documentation/devicetree/bindings/leds/ams,as3645a.txt Example · line 65

Quoted 9 lines
Documentation/devicetree/bindings/leds/ams,as3645a.txt +2 -2
@@ -59,8 +59,8 @@ Example
 =======
 
     as3645a@30 {
-            #address-cells: 1
-            #size-cells: 0
+            #address-cells = <1>;
+            #size-cells = <0>;
             reg = <0x30>;
             compatible = "ams,as3645a";

Convention is also we put compatible first.

Quoted 5 lines
Quoted 3 lines

OK I will move that too for v2.

Can that be in the same patch or do you want a separate patch?

Same patch is fine.

For fixed patch:

Thanks,
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html