]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0b83ba620bbe8e8b68d512c991af979f47de296
tree95d3b13e0eb5daf599cb5adcccf0827bc5e02a2b
parentaa2cb555007a62ee1f576a0a1addc3445a4f24aa
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