diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-02 08:24:22 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-03 13:40:28 -0400 |
commit | d7816ab09b4e8c6cbae1ec006558ca7f8c21f4e1 (patch) | |
tree | 0565a85e5d767fc2cee70f6ff384c12a92aaf09e /drivers/regulator | |
parent | a652f3d24cd27e2d6aefb38b6bcf7151ed4c04e3 (diff) |
regulator: ab8500: Fix list_voltage for fixed voltage regulators
commit b080c78a4e447e9c212c207f725999d4e32c5f19
"regulator: ab8500: Update voltage handling for fixed voltage regulators"
removes min_uV settings and sets volt_table for all fixed voltages, thus
we can not use regulator_list_voltage_linear now. Use
regulator_list_voltage_table instead.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/ab8500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 535a94f6a4f1..d851c84bfa8c 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c | |||
@@ -699,14 +699,14 @@ static struct regulator_ops ab8500_regulator_mode_ops = { | |||
699 | .get_optimum_mode = ab8500_regulator_get_optimum_mode, | 699 | .get_optimum_mode = ab8500_regulator_get_optimum_mode, |
700 | .set_mode = ab8500_regulator_set_mode, | 700 | .set_mode = ab8500_regulator_set_mode, |
701 | .get_mode = ab8500_regulator_get_mode, | 701 | .get_mode = ab8500_regulator_get_mode, |
702 | .list_voltage = regulator_list_voltage_linear, | 702 | .list_voltage = regulator_list_voltage_table, |
703 | }; | 703 | }; |
704 | 704 | ||
705 | static struct regulator_ops ab8500_regulator_ops = { | 705 | static struct regulator_ops ab8500_regulator_ops = { |
706 | .enable = ab8500_regulator_enable, | 706 | .enable = ab8500_regulator_enable, |
707 | .disable = ab8500_regulator_disable, | 707 | .disable = ab8500_regulator_disable, |
708 | .is_enabled = ab8500_regulator_is_enabled, | 708 | .is_enabled = ab8500_regulator_is_enabled, |
709 | .list_voltage = regulator_list_voltage_linear, | 709 | .list_voltage = regulator_list_voltage_table, |
710 | }; | 710 | }; |
711 | 711 | ||
712 | static struct regulator_ops ab8500_regulator_anamic_mode_ops = { | 712 | static struct regulator_ops ab8500_regulator_anamic_mode_ops = { |