]> Pileus Git - ~andy/linux/commit
regulator: gpio-regulator: populate selector from set_voltage
authorHeiko Stübner <heiko@sntech.de>
Sun, 3 Jun 2012 19:32:05 +0000 (21:32 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Jun 2012 09:44:30 +0000 (10:44 +0100)
commitb0e4d7bf8b5704904a5d138d81a8ec8b7145767f
tree5e845dbdc0211a2c5008171b374346f0bd85dda3
parent00926369b745fb0c1e5c27cec35f6adc9752f2c4
regulator: gpio-regulator: populate selector from set_voltage

This was missing until now and the underlying
_regulator_do_set_voltage is using this value when calling list_voltage.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/gpio-regulator.c