diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-10 14:46:20 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-16 12:23:27 +0100 |
commit | 241896ce8d112f10dae5538be41fad9eeb9e5e46 (patch) | |
tree | 153ba7a7da953356171e09eb0cd37a9477d61c01 /Makefile | |
parent | 375dc9c141b4d62b92bb171817039ef764c61d9f (diff) | |
download | linux-241896ce8d112f10dae5538be41fad9eeb9e5e46.tar.bz2 |
regulator: ab8500: Optimize ab8540_aux3_regulator_get_voltage_sel
We can save a register read operation in some case if read
expand_register first.
If info->expand_register.voltage_mask bit is set, no need to read
voltage_reg.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions