]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: tps65217: Convert LDO1 to use regulator_list_voltage_table
authorAxel Lin <axel.lin@gmail.com>
Fri, 29 Jun 2012 01:45:16 +0000 (09:45 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Jul 2012 18:12:58 +0000 (19:12 +0100)
commitd172f319c1094ef22d2a00f43e8a7da4dd02c8f3
treedc2f67f935ead2e08631fe71ff461ec84144d295
parente2eb169b1bc207dd1a79109d85b098b241be2e9b
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>
drivers/regulator/tps65217-regulator.c
include/linux/mfd/tps65217.h