Commit 7728c14a authored by Shawn Guo's avatar Shawn Guo Committed by Mark Brown

regulator: fix label names used in device tree bindings

Device tree compiler does not recognize '-' in label name.  Instead,
'_' works fine.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 22d881c0
...@@ -32,15 +32,15 @@ its just seen as a special case of a regulator being a ...@@ -32,15 +32,15 @@ its just seen as a special case of a regulator being a
consumer itself. consumer itself.
Example of a consumer device node (mmc) referencing two 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 {
... ...
... ...
... ...
...@@ -49,6 +49,6 @@ regulators (twl-reg1 and twl-reg2), ...@@ -49,6 +49,6 @@ regulators (twl-reg1 and twl-reg2),
mmc: mmc@0x0 { mmc: mmc@0x0 {
... ...
... ...
vmmc-supply = <&twl-reg1>; vmmc-supply = <&twl_reg1>;
vmmcaux-supply = <&twl-reg2>; vmmcaux-supply = <&twl_reg2>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment