ARM: S3C2440: Call regulator_has_full_constraints on GTA02
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Feb 2011 06:25:43 +0000 (15:25 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 28 Feb 2011 06:25:43 +0000 (15:25 +0900)
This allows the regulator core to disable all regulators
which are not in use at the end of the kernel init phase.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c2440/mach-gta02.c

index e57c4d8..6600421 100644 (file)
@@ -605,6 +605,8 @@ static void __init gta02_machine_init(void)
 
        platform_add_devices(gta02_devices, ARRAY_SIZE(gta02_devices));
        pm_power_off = gta02_poweroff;
+
+       regulator_has_full_constraints();
 }