[PATCH] dt-bindings: sound: cs42l51: Remove unneeded I2C unit name
Fabio Estevam
festevam at gmail.com
Fri Mar 27 16:57:21 CET 2020
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 at 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 at gmail.com>
---
Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 at 0 {
+ i2c {
#address-cells = <1>;
#size-cells = <0>;
--
2.17.1
More information about the Alsa-devel
mailing list