summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-24 14:52:45 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-11 20:48:45 +0000
commit89e0f0e40002e0d95b7be079fa2c2133304ce09f (patch)
tree195a191c2a0ea04e17f9b8daff8d5827ed495273 /drivers/infiniband
parent0757b6020f5aaa9f770068ca0396c0ea5cb0740d (diff)
downloadop-kernel-dev-89e0f0e40002e0d95b7be079fa2c2133304ce09f.zip
op-kernel-dev-89e0f0e40002e0d95b7be079fa2c2133304ce09f.tar.gz
regulator: Fix the logic of s5m8767_set_voltage_time_sel
This patch includes below fixes: 1. The mask variable is not used at all here, remove it. 2. We already have the new_sel and old_sel, simply returns the delay by: DIV_ROUND_UP(desc->step * (new_sel - old_sel), s5m8767->ramp_delay); Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud