* [PATCH] dt-bindings: w1-gpio: Remove unneeded unit address
@ 2018-06-20 18:27 Fabio Estevam
0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2018-06-20 18:27 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
complains 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>
---
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] only message in thread
only message in thread, other threads:[~2018-06-20 18:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-20 18:27 [PATCH] dt-bindings: w1-gpio: Remove unneeded unit address Fabio Estevam
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).