ARM: OMAP4: cpuidle - Remove the cpuidle_params_table table
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 24 Apr 2012 14:05:24 +0000 (16:05 +0200)
committerKevin Hilman <khilman@ti.com>
Thu, 3 May 2012 18:00:40 +0000 (11:00 -0700)
We do not longer need this table as we defined the values
in the driver states.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/cpuidle44xx.c

index 7072c9e63a8fe91d29ffa8d62300b12916371535..522ec23790cdf6b7db1838b56afae6969fbde3f8 100644 (file)
@@ -31,16 +31,7 @@ struct omap4_idle_statedata {
        u32 mpu_state;
 };
 
-static struct cpuidle_params cpuidle_params_table[] = {
-       /* C1 - CPU0 ON + CPU1 ON + MPU ON */
-       {.exit_latency = 2 + 2 , .target_residency = 5 },
-       /* C2- CPU0 OFF + CPU1 OFF + MPU CSWR */
-       {.exit_latency = 328 + 440 , .target_residency = 960 },
-       /* C3 - CPU0 OFF + CPU1 OFF + MPU OSWR */
-       {.exit_latency = 460 + 518 , .target_residency = 1100 },
-};
-
-#define OMAP4_NUM_STATES ARRAY_SIZE(cpuidle_params_table)
+#define OMAP4_NUM_STATES 3
 
 struct omap4_idle_statedata omap4_idle_data[OMAP4_NUM_STATES];
 static struct powerdomain *mpu_pd, *cpu0_pd, *cpu1_pd;