summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/tps65217.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-29 09:45:16 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-01 19:12:58 +0100
commitd172f319c1094ef22d2a00f43e8a7da4dd02c8f3 (patch)
treedc2f67f935ead2e08631fe71ff461ec84144d295 /include/linux/mfd/tps65217.h
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/tps65217.h')
-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 4e035a41a9b..3a80da103f3 100644
--- a/include/linux/mfd/tps65217.h
+++ b/include/linux/mfd/tps65217.h
@@ -227,8 +227,6 @@ struct tps65217_board {
* @max_uV: minimum micro volts
* @vsel_to_uv: Function pointer to get voltage from selector
* @uv_to_vsel: Function pointer to get selector from voltage
- * @table: Table for non-uniform voltage step-size
- * @table_len: Length of the voltage table
*
* This data is used to check the regualtor voltage limits while setting.
*/
@@ -238,8 +236,6 @@ struct tps_info {
int max_uV;
int (*vsel_to_uv)(unsigned int vsel);
int (*uv_to_vsel)(int uV, unsigned int *vsel);
- const int *table;
- unsigned int table_len;
};
/**