regulator: Move regulator drivers to subsys_initcall()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Apr 2009 17:21:18 +0000 (18:21 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 15 Jun 2009 10:18:23 +0000 (11:18 +0100)
commit5a1b22beeff30d870bf2169a37e343e06cb5db3a
treeeed4c8e52e3eb727dd3860ba9a25b6ebb5422d79
parent7c314991d7d7ad4edf96e8322bcb30e8452957b7
regulator: Move regulator drivers to subsys_initcall()

Regulators need to be available early in init in order to allow them
to be available for consumers when requested. This is generally done
by registering them at subsys_initcall() time but not all regulator
drivers have done that. Convert these drivers to do so in order to
mimimise future support.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/da903x.c
drivers/regulator/fixed.c
drivers/regulator/pcf50633-regulator.c
drivers/regulator/wm8400-regulator.c