]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit3f1965776f6ec769192400810b6260fe48301bbb
treeaf582e003095638d26ce7d0fee558d3f3a9b285b
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
regulator: add a new API regulator_set_voltage_tol()

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>
include/linux/regulator/consumer.h