Axel Lin 114c5748d5 regulator: anatop: Remove checking control_reg in [set|get]_voltage_sel
Remove checking control_reg in [set|get]_voltage_sel and then convert to use
regulator_[set|get]_voltage_sel_regmap for [set|get]_voltage_sel callbacks.

The anatop-reg-offset property is a required property rather than optional
property. So the question is what is the meaning of setting anatop-reg-offset
to 0? If 0 is a valid setting for anatop-reg-offset and it has special meaning,
we had better document it in the binding document. Otherwise, remove the testing
for control_reg in the driver.

No anatop voltage regulator node in the dts files set anatop-reg-offset to 0.
So I think it's safe to remove testing if control_reg is 0.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-03-18 18:35:56 +00:00
..
2014-01-08 17:13:57 +00:00
2012-11-20 10:31:26 +09:00
2013-10-15 13:21:44 +01:00
2014-01-25 13:19:10 -08:00
2013-07-30 12:24:20 +01:00
2013-12-18 17:24:41 +00:00
2013-07-30 12:24:20 +01:00