ASoC: wm8960: Make the node name generic
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 4 May 2018 19:12:02 +0000 (16:12 -0300)
committerMark Brown <broonie@kernel.org>
Sat, 5 May 2018 01:35:50 +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/wm8960.txt

index 2deb8a3da9c55662882f55abdd5da719ca5c5f6a..6d29ac3750eeea29da05a361b527580e65d6f76f 100644 (file)
@@ -23,7 +23,7 @@ Optional properties:
 
 Example:
 
-codec: wm8960@1a {
+wm8960: codec@1a {
        compatible = "wlf,wm8960";
        reg = <0x1a>;