diff mbox series

[2/2] dt-bindings: hwmon: adi,ltc2992: correct unit address in example

Message ID 20221213092643.20404-2-krzysztof.kozlowski@linaro.org (mailing list archive)
State Changes Requested
Headers show
Series [1/2] dt-bindings: hwmon: correct indentation and style in examples | expand

Commit Message

Krzysztof Kozlowski Dec. 13, 2022, 9:26 a.m. UTC
lower-case hex is expected for unit addresses:

  adi,ltc2992.example.dts:22.24-38.15: Warning (i2c_bus_reg): /example-0/i2c/ltc2992@6F: I2C bus unit address format error, expected "6f"

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring (Arm) Dec. 14, 2022, 3:52 p.m. UTC | #1
On Tue, 13 Dec 2022 10:26:42 +0100, Krzysztof Kozlowski wrote:
> lower-case hex is expected for unit addresses:
> 
>   adi,ltc2992.example.dts:22.24-38.15: Warning (i2c_bus_reg): /example-0/i2c/ltc2992@6F: I2C bus unit address format error, expected "6f"
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
index ff208ab97f96..dba74f400bc2 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
@@ -59,12 +59,12 @@  examples:
         #address-cells = <1>;
         #size-cells = <0>;
 
-        ltc2992@6F {
+        ltc2992@6f {
             #address-cells = <1>;
             #size-cells = <0>;
 
             compatible = "adi,ltc2992";
-            reg = <0x6F>;
+            reg = <0x6f>;
 
             channel@0 {
                 reg = <0x0>;