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

index 7f82b59ec8f947f336ec6515d88839cbe7c3bb54..dcfa9a3369fde640da518de0f61466a1a54235c4 100644 (file)
@@ -24,7 +24,7 @@ Optional properties:
 
 Example:
 
-codec: wm8962@1a {
+wm8962: codec@1a {
        compatible = "wlf,wm8962";
        reg = <0x1a>;