ASoC: sgtl5000: Make the node name generic
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 4 May 2018 19:12:00 +0000 (16:12 -0300)
committerMark Brown <broonie@kernel.org>
Sat, 5 May 2018 01:35:48 +0000 (10:35 +0900)
According to Devicetree Specification v0.2 document:

"The name of a node should be somewhat generic, reflecting the function
of the device and not its precise programming model."

Do as suggested in the binding example.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/sgtl5000.txt

index 9a36c7e2a1434ad60bb61436d5da9df29d05f8f3..0f214457476f2aa399925720ee8b42c934b89568 100644 (file)
@@ -39,7 +39,7 @@ VDDIO         1.8V            2.5V            3.3V
 
 Example:
 
-codec: sgtl5000@a {
+sgtl5000: codec@a {
        compatible = "fsl,sgtl5000";
        reg = <0x0a>;
        #sound-dai-cells = <0>;