commit | cac87fd34ebd79a954321f78acf38abcc69e1308 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Jun 20 22:30:15 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Jul 02 18:26:02 2012 +0100 |
tree | 189a8a85f7856a618c5b1a670dbdab99c6b28fd7 | |
parent | 744c62eb65a1c3bb2196ded1a1d2922cf6f2ce80 [diff] |
regulator: tps6524x: Convert to regulator_list_voltage_table() This patch adds fixed_5000000_voltage table for fixed voltage, so we can convert regulator_ops to regulator_list_voltage_table. We can differentiate fixed voltage by checking rdev->desc->n_voltages == 1, thus remove the FIXED_VOLTAGE flag usage. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>