]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd75c4241c6b09526e6560337796d3f10d0fe91ac
treee2d5606522f9ad79dba4583e9ba557c005ce41cd
parent4458dfb31458ef506e40f8e710008bc73883b82e
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