summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-29 03:45:16 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-01 20:12:58 +0200
commitd172f319c1094ef22d2a00f43e8a7da4dd02c8f3 (patch)
treedc2f67f935ead2e08631fe71ff461ec84144d295 /include
parentregulator: s5m8767: Convert to regulator_list_voltage_linear (diff)
downloadlinux-d172f319c1094ef22d2a00f43e8a7da4dd02c8f3.tar.xz
linux-d172f319c1094ef22d2a00f43e8a7da4dd02c8f3.zip
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')
-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 {
* @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;
};
/**