regulator: ab8500: Use a struct to select the good regulator configuration
authorLee Jones <lee.jones@linaro.org>
Tue, 2 Apr 2013 12:24:14 +0000 (13:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Apr 2013 17:40:25 +0000 (18:40 +0100)
commit33aeb49e247ff6b0d51301b92681a304f097c263
treecd1126b755059edf28f7329a12c7238fbc0d590e
parent37daa8aed1af2e09abfdb66e8da9074eb9b9e1a1
regulator: ab8500: Use a struct to select the good regulator configuration

At the probe use a structure to select the good regulator array from
from ab9540, ab8505, ab8540 or ab8500 configuration.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c