dt-bindings: sound: cs42l51: Remove unneeded I2C unit name
diff mbox series

Message ID 20200327155721.7596-1-festevam@gmail.com
State Accepted
Commit f3ca3f5b0966cfc2737178cca8a7a65b09991898
Headers show
Series
  • dt-bindings: sound: cs42l51: Remove unneeded I2C unit name
Related show

Commit Message

Fabio Estevam March 27, 2020, 3:57 p.m. UTC
The following warning is seen with 'make dt_binding_check':

Documentation/devicetree/bindings/sound/cirrus,cs42l51.example.dts:18.15-34.11: Warning (unit_address_vs_reg): /example-0/i2c@0: node has a unit name, but no reg or ranges property

Fix it by removing the unneeded i2c unit name.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring March 27, 2020, 8:57 p.m. UTC | #1
On Fri, Mar 27, 2020 at 9:57 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> The following warning is seen with 'make dt_binding_check':
>
> Documentation/devicetree/bindings/sound/cirrus,cs42l51.example.dts:18.15-34.11: Warning (unit_address_vs_reg): /example-0/i2c@0: node has a unit name, but no reg or ranges property
>
> Fix it by removing the unneeded i2c unit name.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks!

Acked-by: Rob Herring <robh@kernel.org>

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml
index efce847a3408..83f44f07ac3f 100644
--- a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml
+++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml
@@ -49,7 +49,7 @@  required:
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
-    i2c@0 {
+    i2c {
       #address-cells = <1>;
       #size-cells = <0>;