diff options
| author | Axel Lin <axel.lin@ingics.com> | 2013-08-30 20:07:38 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-08-30 15:24:42 +0100 |
| commit | 556dcf903d8a22aa1b3eb743aeffd4849eef2e24 (patch) | |
| tree | 483bd2c4647e821337d655bd314b73f066419392 /scripts | |
| parent | regulator: da9063: Add Dialog DA9063 voltage regulators support. (diff) | |
| download | linux-556dcf903d8a22aa1b3eb743aeffd4849eef2e24.tar.gz linux-556dcf903d8a22aa1b3eb743aeffd4849eef2e24.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
