瀏覽代碼

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

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>
Signed-off-by: Rob Herring <robh@kernel.org>
Fabio Estevam 7 年之前
父節點
當前提交
e88d133d62
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/devicetree/bindings/w1/w1-gpio.txt

+ 1 - 1
Documentation/devicetree/bindings/w1/w1-gpio.txt

@@ -15,7 +15,7 @@ Optional properties:
 
 
 Examples:
 Examples:
 
 
-	onewire@0 {
+	onewire {
 		compatible = "w1-gpio";
 		compatible = "w1-gpio";
 		gpios = <&gpio 126 0>, <&gpio 105 0>;
 		gpios = <&gpio 126 0>, <&gpio 105 0>;
 	};
 	};