Skip to content

Commit

Permalink
regulator: fix label names used in device tree bindings
Browse files Browse the repository at this point in the history
Device tree compiler does not recognize '-' in label name.  Instead,
'_' works fine.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Shawn Guo authored and Mark Brown committed Nov 28, 2011
1 parent 22d881c commit 7728c14
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/devicetree/bindings/regulator/regulator.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ its just seen as a special case of a regulator being a
consumer itself.

Example of a consumer device node (mmc) referencing two
regulators (twl-reg1 and twl-reg2),
regulators (twl_reg1 and twl_reg2),

twl-reg1: regulator@0 {
twl_reg1: regulator@0 {
...
...
...
};

twl-reg2: regulator@1 {
twl_reg2: regulator@1 {
...
...
...
Expand All @@ -49,6 +49,6 @@ regulators (twl-reg1 and twl-reg2),
mmc: mmc@0x0 {
...
...
vmmc-supply = <&twl-reg1>;
vmmcaux-supply = <&twl-reg2>;
vmmc-supply = <&twl_reg1>;
vmmcaux-supply = <&twl_reg2>;
};

0 comments on commit 7728c14

Please sign in to comment.