]> git.baikalelectronics.ru Git - kernel.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)
commit4805967eef85078ca631c0ae2bb65b818e5ad6c5
treeaf582e003095638d26ce7d0fee558d3f3a9b285b
parent9bab380dbc56a92c5472ee2154e0510c910a02c8
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