projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce4eac
)
regulator: s2mps11: Clean up redundant code
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 26 Dec 2013 09:09:03 +0000
(14:39 +0530)
committer
Mark Brown
<broonie@linaro.org>
Mon, 30 Dec 2013 11:56:32 +0000
(11:56 +0000)
BUCK 3 and 4 share the same ramp delay. Hence make it a fall through
case instead of duplicating the code.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mps11.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/s2mps11.c
b/drivers/regulator/s2mps11.c
index 333677d68d0ee31f784e76906bc930b592fc7257..39fbe6a10c145deafba51fbc6bef6ad08637c6a9 100644
(file)
--- a/
drivers/regulator/s2mps11.c
+++ b/
drivers/regulator/s2mps11.c
@@
-70,8
+70,6
@@
static int s2mps11_regulator_set_voltage_time_sel(struct regulator_dev *rdev,
ramp_delay = s2mps11->ramp_delay2;
break;
case S2MPS11_BUCK3:
- ramp_delay = s2mps11->ramp_delay34;
- break;
case S2MPS11_BUCK4:
ramp_delay = s2mps11->ramp_delay34;
break;