aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-28 21:45:16 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-01 14:12:58 -0400
commitd172f319c1094ef22d2a00f43e8a7da4dd02c8f3 (patch)
treedc2f67f935ead2e08631fe71ff461ec84144d295 /include/linux/mfd
parente2eb169b1bc207dd1a79109d85b098b241be2e9b (diff)
regulator: tps65217: Convert LDO1 to use regulator_list_voltage_table
Convert tps65217_pmic_ldo1_ops to use regulator_list_voltage_table. We have n_voltages and volt_table settings in regulator_desc, so we don't need the table and table_len fields in struct tps_info. Thus remove them from struct tps_info. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tps65217.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mfd/tps65217.h b/include/linux/mfd/tps65217.h
index 4e035a41a9b0..3a80da103f3f 100644
--- a/include/linux/mfd/tps65217.h
+++ b/include/linux/mfd/tps65217.h
@@ -227,8 +227,6 @@ struct tps65217_board {
227 * @max_uV: minimum micro volts 227 * @max_uV: minimum micro volts
228 * @vsel_to_uv: Function pointer to get voltage from selector 228 * @vsel_to_uv: Function pointer to get voltage from selector
229 * @uv_to_vsel: Function pointer to get selector from voltage 229 * @uv_to_vsel: Function pointer to get selector from voltage
230 * @table: Table for non-uniform voltage step-size
231 * @table_len: Length of the voltage table
232 * 230 *
233 * This data is used to check the regualtor voltage limits while setting. 231 * This data is used to check the regualtor voltage limits while setting.
234 */ 232 */
@@ -238,8 +236,6 @@ struct tps_info {
238 int max_uV; 236 int max_uV;
239 int (*vsel_to_uv)(unsigned int vsel); 237 int (*vsel_to_uv)(unsigned int vsel);
240 int (*uv_to_vsel)(int uV, unsigned int *vsel); 238 int (*uv_to_vsel)(int uV, unsigned int *vsel);
241 const int *table;
242 unsigned int table_len;
243}; 239};
244 240
245/** 241/**