regulator: ab8500: Use regulator_list_voltage_table() to look-up voltages
authorLee Jones <lee.jones@linaro.org>
Tue, 2 Apr 2013 12:24:18 +0000 (13:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Apr 2013 17:40:27 +0000 (18:40 +0100)
commitd319310395bdaf3d99fdd221d7adcdb7270fb3cc
tree1c78292744221771ea1f0b4347f666f9c781e185
parent5fc9da6d372cc2a75beef7c65b7559fcd1a2716e
regulator: ab8500: Use regulator_list_voltage_table() to look-up voltages

The regulator framework offers a generic regulator_list_voltage_table()
function which can directly look-up a regulator's voltage capabilities
using a table provided through the desc structure. This patch ensures
that information is available.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c