regulator: 88pm8607: Simplify pm8607_list_voltage implementation
authorAxel Lin <axel.lin@ingics.com>
Tue, 26 Feb 2019 12:40:58 +0000 (20:40 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 26 Feb 2019 16:45:55 +0000 (16:45 +0000)
commit2654d368ea3dc7e04a78ff2531ffd886736ae374
tree95d3b13e0eb5daf599cb5adcccf0827bc5e02a2b
parent6145601b225f617e4b257068d1fc3cbcabd9746b
regulator: 88pm8607: Simplify pm8607_list_voltage implementation

Set volt_table filed then we can use regulator_list_voltage_table.
Since we have volt_table setting, now we can remove vol_table from
struct pm8607_regulator_info.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/88pm8607.c