Skip to contentSkip to conversation

dt-bindings: w1-gpio: Remove unneeded unit address

PATCH Applied Fabio Estevam 2 participants 2 messages Jun 20, 2018 – Jun 25, 2018

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

PATCH v2 1/1 dt-bindings: w1-gpio: Remove unneeded unit address

From: Fabio Estevam <[email protected]>

Remove unneeded unit address from onewire node, so that dtc does not complain that unit address is present without a corresponding reg entry, when such use is made on a real dts file.

---
Changes since v1:
- Fixed typo in commit log "dtc does not complain"

 Documentation/devicetree/bindings/w1/w1-gpio.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/w1/w1-gpio.txt +1 -1
index 6e09c35..3709190 100644
@@ -15,7 +15,7 @@ Optional properties:
 
 Examples:
 
-	onewire@0 {
+	onewire {
 		compatible = "w1-gpio";
 		gpios = <&gpio 126 0>, <&gpio 105 0>;
 	};
Signature · 1 line
2.7.4
maintainer Applied
#1 lore raw
Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Remove unneeded unit address from onewire node, so that dtc does not complain that unit address is present without a corresponding reg entry, when such use is made on a real dts file.

Quoted 7 lines

---
Changes since v1:
- Fixed typo in commit log "dtc does not complain"

 Documentation/devicetree/bindings/w1/w1-gpio.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Rob