diff options
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index ff76abde3ab..6ffca9b3238 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -2299,7 +2299,7 @@ int regulator_set_voltage_time_sel(struct regulator_dev *rdev, | |||
2299 | if (rdev->desc->ramp_delay && rdev->desc->uV_step) | 2299 | if (rdev->desc->ramp_delay && rdev->desc->uV_step) |
2300 | return DIV_ROUND_UP(rdev->desc->uV_step * | 2300 | return DIV_ROUND_UP(rdev->desc->uV_step * |
2301 | abs(new_selector - old_selector), | 2301 | abs(new_selector - old_selector), |
2302 | rdev->desc->ramp_delay) * 1000; | 2302 | rdev->desc->ramp_delay * 1000); |
2303 | return 0; | 2303 | return 0; |
2304 | } | 2304 | } |
2305 | 2305 | ||