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-Tag: v2.6.39-rc1~434^2^2~22^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c861b88d0c2a1099b75c7a28648514cc67c8be6;p=profile%2Fivi%2Fkernel-x86-ivi.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 e57c4d8..6600421 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(); }