]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3eb2581362b9129a190244d9616e10c8318609fb
treec075b322911fa7e7e4295b4a0eea987b81faec7f
parent171326a3fc2516cf4d4f098636dfc09c61634b39
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