regulator: Trivial comment fix for wm831x-ldo driver
authorAxel Lin <axel.lin@gmail.com>
Thu, 29 Mar 2012 07:04:22 +0000 (15:04 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:37 +0000 (11:59 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/wm831x-ldo.c

index f1e4ab0f9fda8e02d6857c705f8fc1032fc7f23b..a4b16831f4caeb96954981b8052c9dcd547e928c 100644 (file)
@@ -105,7 +105,7 @@ static int wm831x_gp_ldo_list_voltage(struct regulator_dev *rdev,
        /* 0.9-1.6V in 50mV steps */
        if (selector <= WM831X_GP_LDO_SELECTOR_LOW)
                return 900000 + (selector * 50000);
-       /* 1.7-3.3V in 50mV steps */
+       /* 1.7-3.3V in 100mV steps */
        if (selector <= WM831X_GP_LDO_MAX_SELECTOR)
                return 1600000 + ((selector - WM831X_GP_LDO_SELECTOR_LOW)
                                  * 100000);
@@ -414,7 +414,7 @@ static int wm831x_aldo_list_voltage(struct regulator_dev *rdev,
        /* 1-1.6V in 50mV steps */
        if (selector <= WM831X_ALDO_SELECTOR_LOW)
                return 1000000 + (selector * 50000);
-       /* 1.7-3.5V in 50mV steps */
+       /* 1.7-3.5V in 100mV steps */
        if (selector <= WM831X_ALDO_MAX_SELECTOR)
                return 1600000 + ((selector - WM831X_ALDO_SELECTOR_LOW)
                                  * 100000);