regulator: as3722: Don't set min_uV/uV_step/linear_min_sel for linear_ranges
authorAxel Lin <axel.lin@ingics.com>
Fri, 20 Dec 2013 02:57:49 +0000 (10:57 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 20 Dec 2013 18:31:42 +0000 (18:31 +0000)
commitbc2571f4ba375101c9d0b7d46d8c241822652433
tree1d3c6da5a974f2f49aec50020b2f7cc2a08103d3
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
regulator: as3722: Don't set min_uV/uV_step/linear_min_sel for linear_ranges

These settings are not used when using linear_ranges and it makes the code
looks confusing. Thus remove them.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/as3722-regulator.c