[alsa-devel] [PATCH 2/4] ASoC: wm8962: Make the node name generic

Fabio Estevam festevam at gmail.com
Fri May 4 21:12:01 CEST 2018


From: Fabio Estevam <fabio.estevam at nxp.com>

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 at nxp.com>
---
 Documentation/devicetree/bindings/sound/wm8962.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/sound/wm8962.txt b/Documentation/devicetree/bindings/sound/wm8962.txt
index 7f82b59..dcfa9a33 100644
--- a/Documentation/devicetree/bindings/sound/wm8962.txt
+++ b/Documentation/devicetree/bindings/sound/wm8962.txt
@@ -24,7 +24,7 @@ Optional properties:
 
 Example:
 
-codec: wm8962 at 1a {
+wm8962: codec at 1a {
 	compatible = "wlf,wm8962";
 	reg = <0x1a>;
 
-- 
2.7.4



More information about the Alsa-devel mailing list