regulator: add a new API regulator_set_voltage_tol()
authorShawn Guo <shawn.guo@linaro.org>
Sun, 5 Aug 2012 15:05:20 +0000 (23:05 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Aug 2012 13:34:41 +0000 (14:34 +0100)
There are some use cases where a voltage range could be reasonably
specified by a target voltage and tolerance.  Add a new API
regulator_set_voltage_tol() wrapping regulator_set_voltage() call
to ease the users.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found