commit | 9b31835341004022ea2862116de05fea50b8d1e4 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Apr 22 11:57:14 2013 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Apr 24 10:53:59 2013 +0100 |
tree | 24ea17657cbd6aca0077653eeb5834eab203128d | |
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>