regulator: ab8500: provide per-regulator shift
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Aug 2012 16:41:35 +0000 (18:41 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Aug 2012 18:00:30 +0000 (11:00 -0700)
commita0a7014cd40b1d1d13e121e5083bd3b2bbffe348
tree85da9412862c604416e5acd5ccb85d1478d8daf8
parentdb55168265699c72e6ebf7a4228029da590a3eab
regulator: ab8500: provide per-regulator shift

This encodes the voltage shifts (the number of bits to shift
the register to get to the selector) into the regulator info.
We have several new variants of the AB8500 so this varies a
lot.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c