[alsa-devel] [PATCH] dt-bindings: sgtl5000: Remove leading zero from '@0a' notation

Marco Franchi marco.franchi at nxp.com
Wed Oct 25 19:24:50 CEST 2017


Improve the binding example by removing the leading 0 from '@0a' notation,
which fixes the following build warning:

Warning (unit_address_format): Node /sgtl5000 at 0a unit name should not have leading 0s

Signed-off-by: Marco Franchi <marco.franchi at nxp.com>
---
 Documentation/devicetree/bindings/sound/sgtl5000.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/sound/sgtl5000.txt b/Documentation/devicetree/bindings/sound/sgtl5000.txt
index 7a73a9d..060cb4a 100644
--- a/Documentation/devicetree/bindings/sound/sgtl5000.txt
+++ b/Documentation/devicetree/bindings/sound/sgtl5000.txt
@@ -37,7 +37,7 @@ VDDIO		1.8V		2.5V		3.3V
 
 Example:
 
-codec: sgtl5000 at 0a {
+codec: sgtl5000 at a {
 	compatible = "fsl,sgtl5000";
 	reg = <0x0a>;
 	clocks = <&clks 150>;
-- 
2.7.4



More information about the Alsa-devel mailing list