ARM: OMAP4: PM: fix regulator name for VDD_MPU
authorKevin Hilman <khilman@ti.com>
Mon, 5 Nov 2012 23:46:36 +0000 (15:46 -0800)
committerKevin Hilman <khilman@ti.com>
Tue, 6 Nov 2012 00:30:29 +0000 (16:30 -0800)
commit 24d7b40a (ARM: OMAP2+: PM: MPU DVFS: use generic CPU device for
MPU-SS) updated the regulator name used for the MPU regulator, but only
updated OMAP3, not OMAP4.  Fix the OMAP4 name as well, otherwise CPUfreq
fails to find the MPU regulator.

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/twl-common.c

index 635e109f5ad352e97e04dfad00c11e8728c72c98..44c42057b61c2c292e42dbdcb5b47f3b9b65c401 100644 (file)
@@ -366,7 +366,7 @@ static struct regulator_init_data omap4_clk32kg_idata = {
 };
 
 static struct regulator_consumer_supply omap4_vdd1_supply[] = {
-       REGULATOR_SUPPLY("vcc", "mpu.0"),
+       REGULATOR_SUPPLY("vcc", "cpu0"),
 };
 
 static struct regulator_consumer_supply omap4_vdd2_supply[] = {