From: Lars-Peter Clausen Date: Mon, 28 Feb 2011 06:25:43 +0000 (+0900) Subject: ARM: S3C2440: Call regulator_has_full_constraints on GTA02 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3c861b88d0c2a1099b75c7a28648514cc67c8be6;p=mv-sheeva.git ARM: S3C2440: Call regulator_has_full_constraints on GTA02 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 Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index e57c4d85129..66004212380 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -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(); }