regulator: da9063: Optimize da9063_set_current_limit implementation
authorAxel Lin <axel.lin@ingics.com>
Fri, 30 Aug 2013 12:07:38 +0000 (20:07 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 30 Aug 2013 14:24:42 +0000 (15:24 +0100)
All the current limit tables have the values in ascend order.
So we can slightly optimize the for loop iteration because the first match
is the minimal value.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found