regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops
authorAxel Lin <axel.lin@ingics.com>
Tue, 16 Feb 2021 06:01:28 +0000 (14:01 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 12:47:46 +0000 (12:47 +0000)
commit1e50433c5705c7e5d6733458e387866289f9b544
treed0f40f4029fec035528831a5e1967ef1f1c3dc05
parent438421b07bf84988a819a635cd8bdf6a4d7f72f2
regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops

The voltages in pf8x00_sw7_voltages are in ascendant order, so use
regulator_map_voltage_ascend.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Adrien Grassein <adrien.grassein@gmail.com>
Link: https://lore.kernel.org/r/20210216060128.126938-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pf8x00-regulator.c