regulator: gpio-regulator: doc: Fix wrong key gpio-enable
authorFrank Li <Frank.Li@freescale.com>
Mon, 12 Nov 2012 09:58:28 +0000 (17:58 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 13 Nov 2012 07:35:57 +0000 (16:35 +0900)
Wrong description in binding document.
Doc use "gpio-enable", but code use "enable-gpio"

In drivers/regulator/gpio-regulator.c
config->enable_gpio = of_get_named_gpio(np, "enable-gpio", 0);

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/regulator/gpio-regulator.txt

index 3703be2ab821825fbf4fa0eb14e616b0d4072067..f71f8083c2ae73f7ce5443cd8d682266dcddb157 100644 (file)
@@ -4,7 +4,7 @@ Required properties:
 - compatible           : Must be "regulator-gpio".
 
 Optional properties:
-- gpio-enable          : GPIO to use to enable/disable the regulator.
+- enable-gpio          : GPIO to use to enable/disable the regulator.
 - gpios                        : GPIO group used to control voltage.
 - states               : Selection of available voltages and GPIO configs.
 - startup-delay-us     : Startup time in microseconds.
@@ -23,7 +23,7 @@ Example:
                regulator-max-microvolt = <2600000>;
                regulator-boot-on;
 
-               gpio-enable = <&gpio0 23 0x4>;
+               enable-gpio = <&gpio0 23 0x4>;
                gpios = <&gpio0 24 0x4
                         &gpio0 25 0x4>;
                states = <1800000 0x3