dt-bindings: mfd: st,stmfx: Remove I2C unit name
authorFabio Estevam <festevam@gmail.com>
Thu, 2 Jul 2020 11:32:33 +0000 (08:32 -0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 13 Aug 2020 06:49:46 +0000 (07:49 +0100)
Remove the I2C unit name to fix the following build warning with
'make dt_binding_check':

Warning (unit_address_vs_reg): /example-0/i2c@0: node has a unit name, but no reg or ranges property

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/st,stmfx.yaml

index bed22d4..888ab4b 100644 (file)
@@ -93,7 +93,7 @@ required:
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
-    i2c@0 {
+    i2c {
       #address-cells = <1>;
       #size-cells = <0>;
       stmfx@42 {