]> git.baikalelectronics.ru Git - kernel.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)
commit7037df0bd37551fe5726813109d8443c69793ad3
treedc2f67f935ead2e08631fe71ff461ec84144d295
parent0a07fe3d0a488403110af0b1e109b3d5eb8def37
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