]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfac2813d4954ecb8bcc1a3b20f7dff5ab17ab477
treed0f40f4029fec035528831a5e1967ef1f1c3dc05
parent262e87bb9cd8f8a4793a4337d6ef635c3063d700
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