]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regulator: fix label names used in device tree bindings
authorShawn Guo <shawn.guo@linaro.org>
Mon, 28 Nov 2011 13:37:16 +0000 (21:37 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 28 Nov 2011 19:00:05 +0000 (19:00 +0000)
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>
Documentation/devicetree/bindings/regulator/regulator.txt

index 82bef20d4c491d8462c7a20807ed716643fe4ea3..5b7a408acdaa2ddd09aacab5d8ab402f52f00389 100644 (file)
@@ -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 {
                ...
                ...
                ...
@@ -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>;
        };