diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-04-24 16:05:33 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-05-03 22:19:29 +0200 |
commit | 0c2487f6b44a33c5a5876d5f8c59f5e17fd2ef68 (patch) | |
tree | e167c6500bf938e5cb6343d656bfed43a29e8792 /arch/arm/mach-omap2/pm.h | |
parent | ARM: OMAP3: cpuidle - remove the 'valid' field (diff) | |
download | linux-0c2487f6b44a33c5a5876d5f8c59f5e17fd2ef68.tar.xz linux-0c2487f6b44a33c5a5876d5f8c59f5e17fd2ef68.zip |
ARM: OMAP3: cpuidle - remove cpuidle_params_table
We do not longer need the ''cpuidle_params_table' array as
we defined the states in the driver and we checked they are
all valid.
We also remove the structure definition as it is no longer used.
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>
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r-- | arch/arm/mach-omap2/pm.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index 5646b8010f26..78564895e914 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h @@ -38,18 +38,6 @@ static inline int omap4_opp_init(void) } #endif -/* - * cpuidle mach specific parameters - * - * The board code can override the default C-states definition using - * omap3_pm_init_cpuidle - */ -struct cpuidle_params { - u32 exit_latency; /* exit_latency = sleep + wake-up latencies */ - u32 target_residency; - u8 valid; /* validates the C-state */ -}; - extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); |