devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name
@ 2020-07-02 11:32 Fabio Estevam
  2020-07-09 23:28 ` Rob Herring
  2020-07-16 15:03 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2020-07-02 11:32 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, devicetree, linux-kernel, benjamin.gaignard,
	Fabio Estevam

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(-)

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 {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-16 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-02 11:32 [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name Fabio Estevam
2020-07-09 23:28 ` Rob Herring
2020-07-16 15:03 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).