commit | 556dcf903d8a22aa1b3eb743aeffd4849eef2e24 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Aug 30 20:07:38 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Fri Aug 30 15:24:42 2013 +0100 |
tree | 483bd2c4647e821337d655bd314b73f066419392 | |
parent | 69ca3e58d17854f8fa72d85aea6bf4614ad25a56 [diff] |
regulator: da9063: Optimize da9063_set_current_limit implementation 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>