瀏覽代碼

dt-bindings: iio: health: Fix max30100 I2C chip address in example

Should be in hex, not decimal or even octal

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Peter Meerwald-Stadler 7 年之前
父節點
當前提交
6d39a6cc38
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Documentation/devicetree/bindings/iio/health/max30100.txt

+ 2 - 2
Documentation/devicetree/bindings/iio/health/max30100.txt

@@ -20,9 +20,9 @@ Optional properties:
 
 Example:
 
-max30100@057 {
+max30100@57 {
 	compatible = "maxim,max30100";
-	reg = <57>;
+	reg = <0x57>;
 	maxim,led-current-microamp = <24000 50000>;
 	interrupt-parent = <&gpio1>;
 	interrupts = <16 2>;