regulator: twl6030: Use regulator_list_voltage_linear_range for twl6030ldo_ops
authorAxel Lin <axel.lin@ingics.com>
Sun, 17 Feb 2019 13:48:08 +0000 (21:48 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 20 Feb 2019 16:53:02 +0000 (16:53 +0000)
commit4a43870ae166a1a0bbc44a7b5ee63653303827bb
treee2d5606522f9ad79dba4583e9ba557c005ce41cd
parent721efb504d28ce0bc704643ea2d952b9e87ed9f7
regulator: twl6030: Use regulator_list_voltage_linear_range for twl6030ldo_ops

Use linear range to replace the twl6030ldo_list_voltage implementation.
With this change, the min_mV is not used and can be removed from
struct twlreg_info.

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