aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/wm831x-ldo.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-29 03:04:22 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 06:59:37 -0400
commit6085d4d9c39a49f647c57288a245386f797d1001 (patch)
treed375f169542f2c7c192b869dea581eb97cd5fd61 /drivers/regulator/wm831x-ldo.c
parent4af7c1d313a085268d071da6729c4ed055be934f (diff)
regulator: Trivial comment fix for wm831x-ldo driver
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/wm831x-ldo.c')
-rw-r--r--drivers/regulator/wm831x-ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/wm831x-ldo.c b/drivers/regulator/wm831x-ldo.c
index f1e4ab0f9fda..a4b16831f4ca 100644
--- a/drivers/regulator/wm831x-ldo.c
+++ b/drivers/regulator/wm831x-ldo.c
@@ -105,7 +105,7 @@ static int wm831x_gp_ldo_list_voltage(struct regulator_dev *rdev,
105 /* 0.9-1.6V in 50mV steps */ 105 /* 0.9-1.6V in 50mV steps */
106 if (selector <= WM831X_GP_LDO_SELECTOR_LOW) 106 if (selector <= WM831X_GP_LDO_SELECTOR_LOW)
107 return 900000 + (selector * 50000); 107 return 900000 + (selector * 50000);
108 /* 1.7-3.3V in 50mV steps */ 108 /* 1.7-3.3V in 100mV steps */
109 if (selector <= WM831X_GP_LDO_MAX_SELECTOR) 109 if (selector <= WM831X_GP_LDO_MAX_SELECTOR)
110 return 1600000 + ((selector - WM831X_GP_LDO_SELECTOR_LOW) 110 return 1600000 + ((selector - WM831X_GP_LDO_SELECTOR_LOW)
111 * 100000); 111 * 100000);
@@ -414,7 +414,7 @@ static int wm831x_aldo_list_voltage(struct regulator_dev *rdev,
414 /* 1-1.6V in 50mV steps */ 414 /* 1-1.6V in 50mV steps */
415 if (selector <= WM831X_ALDO_SELECTOR_LOW) 415 if (selector <= WM831X_ALDO_SELECTOR_LOW)
416 return 1000000 + (selector * 50000); 416 return 1000000 + (selector * 50000);
417 /* 1.7-3.5V in 50mV steps */ 417 /* 1.7-3.5V in 100mV steps */
418 if (selector <= WM831X_ALDO_MAX_SELECTOR) 418 if (selector <= WM831X_ALDO_MAX_SELECTOR)
419 return 1600000 + ((selector - WM831X_ALDO_SELECTOR_LOW) 419 return 1600000 + ((selector - WM831X_ALDO_SELECTOR_LOW)
420 * 100000); 420 * 100000);