projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regulator: twl6030: remove redundant range check min_uV > 1300000 && min_uV <= 1350000
[linux-2.6-microblaze.git]
/
drivers
/
regulator
/
twl6030-regulator.c
diff --git
a/drivers/regulator/twl6030-regulator.c
b/drivers/regulator/twl6030-regulator.c
index
4864b9d
..
edaf93c
100644
(file)
--- a/
drivers/regulator/twl6030-regulator.c
+++ b/
drivers/regulator/twl6030-regulator.c
@@
-456,8
+456,6
@@
static int twl6030smps_map_voltage(struct regulator_dev *rdev, int min_uV,
vsel = 60;
else if ((min_uV > 1350000) && (min_uV <= 1500000))
vsel = 59;
- else if ((min_uV > 1300000) && (min_uV <= 1350000))
- vsel = 58;
else
return -EINVAL;
break;