summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-11-28 21:37:16 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-28 19:00:05 +0000
commit7728c14a785f934ffccc4f45ecd9646fc07ea679 (patch)
tree139ad8c4ece52e75b623c8fa1e13de2bb7d271b6 /Documentation/devicetree
parent22d881c068403c155fbe320c0a26e3b1bcdaa1b8 (diff)
downloadblackbird-op-linux-7728c14a785f934ffccc4f45ecd9646fc07ea679.tar.gz
blackbird-op-linux-7728c14a785f934ffccc4f45ecd9646fc07ea679.zip
regulator: fix label names used in device tree bindings
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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/regulator/regulator.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt
index 82bef20d4c49..5b7a408acdaa 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/regulator.txt
@@ -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>;
};
OpenPOWER on IntegriCloud