diff mbox series

[v2] dt-bindings: w1-gpio: Remove unneeded unit address

Message ID 1529520446-8042-1-git-send-email-festevam@gmail.com
State Accepted, archived
Headers show
Series [v2] dt-bindings: w1-gpio: Remove unneeded unit address | expand

Commit Message

Fabio Estevam June 20, 2018, 6:47 p.m. UTC
From: Fabio Estevam <fabio.estevam@nxp.com>

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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
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(-)

Comments

Rob Herring (Arm) June 25, 2018, 7:09 p.m. UTC | #1
On Wed, Jun 20, 2018 at 03:47:26PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> 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.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/w1/w1-gpio.txt b/Documentation/devicetree/bindings/w1/w1-gpio.txt
index 6e09c35..3709190 100644
--- a/Documentation/devicetree/bindings/w1/w1-gpio.txt
+++ b/Documentation/devicetree/bindings/w1/w1-gpio.txt
@@ -15,7 +15,7 @@  Optional properties:
 
 Examples:
 
-	onewire@0 {
+	onewire {
 		compatible = "w1-gpio";
 		gpios = <&gpio 126 0>, <&gpio 105 0>;
 	};