diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-08-30 12:07:38 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-30 14:24:42 (GMT) |
commit | 556dcf903d8a22aa1b3eb743aeffd4849eef2e24 (patch) | |
tree | 483bd2c4647e821337d655bd314b73f066419392 /drivers/regulator/max8952.c | |
parent | 69ca3e58d17854f8fa72d85aea6bf4614ad25a56 (diff) | |
download | linux-fsl-qoriq-556dcf903d8a22aa1b3eb743aeffd4849eef2e24.tar.xz |
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 'drivers/regulator/max8952.c')
0 files changed, 0 insertions, 0 deletions