Explorar o código

ARM: shmobile: cpuidle: remove shmobile_enter_wfi function

Remove the shmobile_enter_wfi function which is the same as the
common WFI enter function from the arm cpuidle driver defined
with the ARM_CPUIDLE_WFI_STATE macro.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Daniel Lezcano %!s(int64=12) %!d(string=hai) anos
pai
achega
38ef8d3fa4
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      arch/arm/mach-shmobile/pm-sh7372.c

+ 0 - 1
arch/arm/mach-shmobile/pm-sh7372.c

@@ -414,7 +414,6 @@ static struct cpuidle_driver sh7372_cpuidle_driver = {
 	.state_count		= 5,
 	.safe_state_index	= 0, /* C1 */
 	.states[0] = ARM_CPUIDLE_WFI_STATE,
-	.states[0].enter = shmobile_enter_wfi,
 	.states[1] = {
 		.name = "C2",
 		.desc = "Core Standby Mode",