Skip to content

Commit

Permalink
ASoC: codec: wolfson: Make the node name generic
Browse files Browse the repository at this point in the history
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 bindings examples.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Fabio Estevam authored and Mark Brown committed May 22, 2018
1 parent 2da4801 commit 34f5897
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8510.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Example:

codec: wm8510@1a {
wm8510: codec@1a {
compatible = "wlf,wm8510";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8523.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Required properties:

Example:

codec: wm8523@1a {
wm8523: codec@1a {
compatible = "wlf,wm8523";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8524.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Required properties:

Example:

codec: wm8524 {
wm8524: codec {
compatible = "wlf,wm8524";
wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8580.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Required properties:

Example:

codec: wm8580@1a {
wm8580: codec@1a {
compatible = "wlf,wm8580";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8711.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Example:

codec: wm8711@1a {
wm8711: codec@1a {
compatible = "wlf,wm8711";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8728.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Example:

codec: wm8728@1a {
wm8728: codec@1a {
compatible = "wlf,wm8728";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8731.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Example:

codec: wm8731@1a {
wm8731: codec@1a {
compatible = "wlf,wm8731";
reg = <0x1a>;
};
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8737.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Example:

codec: wm8737@1a {
wm8737: codec@1a {
compatible = "wlf,wm8737";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8741.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Optional properties:

Example:

codec: wm8741@1a {
wm8741: codec@1a {
compatible = "wlf,wm8741";
reg = <0x1a>;

Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8750.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Example:

codec: wm8750@1a {
wm8750: codec@1a {
compatible = "wlf,wm8750";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8753.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Pins on the device (for linking into audio routes):

Example:

codec: wm8753@1a {
wm8753: codec@1a {
compatible = "wlf,wm8753";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8770.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Required properties:

Example:

codec: wm8770@1 {
wm8770: codec@1 {
compatible = "wlf,wm8770";
reg = <1>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8776.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Example:

codec: wm8776@1a {
wm8776: codec@1a {
compatible = "wlf,wm8776";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8804.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Optional properties:

Example:

codec: wm8804@1a {
wm8804: codec@1a {
compatible = "wlf,wm8804";
reg = <0x1a>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8903.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Pins on the device (for linking into audio routes):

Example:

codec: wm8903@1a {
wm8903: codec@1a {
compatible = "wlf,wm8903";
reg = <0x1a>;
interrupts = < 347 >;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/wm8994.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Optional properties:

Example:

codec: wm8994@1a {
wm8994: codec@1a {
compatible = "wlf,wm8994";
reg = <0x1a>;

Expand Down

0 comments on commit 34f5897

Please sign in to comment.