devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: w1-gpio: Remove unneeded unit address
@ 2018-06-20 18:47 Fabio Estevam
  2018-06-25 19:09 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2018-06-20 18:47 UTC (permalink / raw)
  To: robh+dt; +Cc: devicetree, Fabio Estevam

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(-)

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>;
 	};
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] dt-bindings: w1-gpio: Remove unneeded unit address
  2018-06-20 18:47 [PATCH v2] dt-bindings: w1-gpio: Remove unneeded unit address Fabio Estevam
@ 2018-06-25 19:09 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-06-25 19:09 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: devicetree, Fabio Estevam

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-25 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-20 18:47 [PATCH v2] dt-bindings: w1-gpio: Remove unneeded unit address Fabio Estevam
2018-06-25 19:09 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).