regulator: qcom-labibb: Switch voltage ops from linear_range to linear
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Tue, 19 Jan 2021 17:44:15 +0000 (18:44 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 20 Jan 2021 18:48:14 +0000 (18:48 +0000)
commit9a12eb704ea27826ece4414cb8822388ec54883c
tree86a49a1d06074a78b5a29d12758cc24ba914b097
parentf35f6d8c117569f626826394d85a7e87e167bde8
regulator: qcom-labibb: Switch voltage ops from linear_range to linear

The LAB and IBB regulator have just one range and it is useless
to use linear_range ops, as these are used to express multiple
linear ranges.

Switch list_voltage and map_voltage callbacks to *_linear instead.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Link: https://lore.kernel.org/r/20210119174421.226541-2-angelogioacchino.delregno@somainline.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom-labibb-regulator.c