mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
regulator: s2mps11: Clean up redundant code
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>
This commit is contained in:
parent
6ce4eac1f6
commit
699b36973d
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue