regulator: ab8500: Get rid of voltage_shift field from struct ab8500_regulator_info
authorAxel Lin <axel.lin@ingics.com>
Wed, 17 Apr 2013 14:55:45 +0000 (22:55 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 18 Apr 2013 17:26:35 +0000 (18:26 +0100)
commit5d9de8b1216c60c15b02982c9f6b4875f757db02
tree20316c4244b59db7ac87bb1491b59da441787247
parent9135d3bcec6c087fa2ef4fbde8b80ff8b27b34c7
regulator: ab8500: Get rid of voltage_shift field from struct ab8500_regulator_info

The voltage_shift can be calculated from voltage_mask.
Let's remove voltage_shift fied from struct ab8500_regulator_info, this change
can prevent missing voltage_shift setting issue.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c