diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-04-22 11:57:14 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-24 10:53:59 +0100 |
commit | 9b31835341004022ea2862116de05fea50b8d1e4 (patch) | |
tree | 24ea17657cbd6aca0077653eeb5834eab203128d /drivers/mfd/ab3100-core.c | |
parent | 60d509fa6a9c4653a86ad830e4c4b30360b23f0e (diff) |
regulator: ab3100: refactor probe to use IDs
This refactors the AB3100 regulator probe to use regulator IDs
and pass this to a separate registration function. This works
much smoother when migrating to device tree, as we can use a
match table with this regulator ID encoded in the .driver_data.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mfd/ab3100-core.c')
0 files changed, 0 insertions, 0 deletions