diff options
author | Axel Lin <[email protected]> | 2013-04-10 14:46:20 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-04-16 12:23:27 +0100 |
commit | 241896ce8d112f10dae5538be41fad9eeb9e5e46 (patch) | |
tree | 153ba7a7da953356171e09eb0cd37a9477d61c01 /net/lapb/lapb_iface.c | |
parent | 375dc9c141b4d62b92bb171817039ef764c61d9f (diff) |
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 <[email protected]>
Acked-by: Bengt Jonsson <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions