Message ID | 20200702113233.5327-1-festevam@gmail.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | dt-bindings: mfd: st,stmfx: Remove I2C unit name | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | warning | total: 0 errors, 1 warnings, 8 lines checked |
On Thu, 02 Jul 2020 08:32:33 -0300, Fabio Estevam wrote: > 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> > --- > Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Rob Herring <robh@kernel.org>
On Thu, 02 Jul 2020, Fabio Estevam wrote: > 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> > --- > Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.
diff --git a/Documentation/devicetree/bindings/mfd/st,stmfx.yaml b/Documentation/devicetree/bindings/mfd/st,stmfx.yaml index bed22d4abffb..888ab4b5df45 100644 --- a/Documentation/devicetree/bindings/mfd/st,stmfx.yaml +++ b/Documentation/devicetree/bindings/mfd/st,stmfx.yaml @@ -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 {
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> --- Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)