diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-05-29 14:20:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-30 19:00:56 +0300 |
commit | d0abd6f5f5eac758f4bcf4001f6cc377320ebc84 (patch) | |
tree | 9afcc4230513211415ad3c985cd43c1881fd10a1 /include | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | linux-d0abd6f5f5eac758f4bcf4001f6cc377320ebc84.tar.xz |
regulator: max8973: Fix setting ramp delay
Current code can set ramp delay to a wrong setting that the return value
from .set_voltage_time_sel is not enough for proper delay.
Fix the logic in .set_ramp_delay and also remove unused ret_val variable.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions