regulator: mt6311: Use linear instead of linear range for mt6311_buck_ops
authorAxel Lin <axel.lin@ingics.com>
Thu, 21 Feb 2019 16:28:31 +0000 (00:28 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 22 Feb 2019 15:16:42 +0000 (15:16 +0000)
commita661b1d9936e77a6c07f8ca10e3494932fa5e2c8
treec075b322911fa7e7e4295b4a0eea987b81faec7f
parentd3d1a6a72b2337437f13be75c64af4ecc386661f
regulator: mt6311: Use linear instead of linear range for mt6311_buck_ops

Current code already set .min_uV and .uV_step fields and it actually can
use regulator_list_voltage_linear.
So remove buck_volt_range and use regulator_list_voltage_linear instead.

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