regulator: ab3100: refactor probe to use IDs
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Apr 2013 09:57:14 +0000 (11:57 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Apr 2013 09:53:59 +0000 (10:53 +0100)
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>

No differences found