]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: lp8755: Provide map_voltage()
authorMark Brown <broonie@linaro.org>
Tue, 2 Jul 2013 22:57:35 +0000 (23:57 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 2 Jul 2013 22:59:39 +0000 (23:59 +0100)
commit423388d4814659b0cdcb8dd71e9dbfc2944fe79e
tree0078999263cddd86bdd430b3dd7652ae43e926fe
parentc96b444416394b316b552bc74f4b1ab4c64a5781
regulator: lp8755: Provide map_voltage()

Improve performance when setting voltages by avoiding a scan through the
selectors when we can simply calculate the selector we want.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/lp8755.c