]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite12b66dccfdbb56693595644bf0a02c48f0cfd8e
tree20316c4244b59db7ac87bb1491b59da441787247
parent6c6b0aef7a0750c37002f332eebd124e8f6f09a0
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