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>
This commit is contained in:
Mark Brown 2013-07-02 23:57:35 +01:00
commit 56a942e931