regulator: tps65217: Simplify linear range for selector 25-52
authorAxel Lin <axel.lin@ingics.com>
Mon, 4 Mar 2019 04:41:33 +0000 (12:41 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 21 Mar 2019 14:59:24 +0000 (14:59 +0000)
commit689b9e025f0cbf2f537566f8334ab6fd937336ae
treeb23f9de27805334c95a5c6ed3007247e04a1dea9
parent4e105e3b4bc6a1825aefc56f11951e1496a5bb3c
regulator: tps65217: Simplify linear range for selector 25-52

The original code separates the selector 25-52 into 2 ranges on purpose
because DCDC1/DCDC3 only support up to 1.8V/1.5V in the old code.
Both DCDC1 and DCDC3 support up to 3.3V since commit b4c2e158a1e1
("regulator: tps65217: Allow DCDC1 and DCDC3 up to 3.3V"), so merge
25-30 and 31-52 ranges to one range.

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