regulator: add set_voltage_time_sel infrastructure
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 17 Mar 2011 12:24:36 +0000 (13:24 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Sat, 26 Mar 2011 14:15:06 +0000 (14:15 +0000)
commit77af1b2641faf45788a0d480db94082ebee931dc
tree66f06c3244e6c961f15b22e66156f388e0420994
parent79568b941277b5986a8a7f0fb8578b2ccfc3e87e
regulator: add set_voltage_time_sel infrastructure

This makes it possible to set the stabilization time for voltage
regulators in the same manner as enable_time(). The interface
only supports regulators that implements fixed selectors.

Cc: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c
include/linux/regulator/driver.h