ARM: shmobile: cpuidle: Remove the pointless default driver
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 17 Mar 2015 15:25:12 +0000 (16:25 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 19 Mar 2015 02:02:07 +0000 (11:02 +0900)
The default idle driver uses one state with the WFI instruction.
The default idle routine invokes WFI when no cpuidle driver is present.

The default cpuidle driver is pointless and does not give more than the
default idle routine and moreover it pulls all the mathematics tied with
the cpuidle governor for nothing, hence consuming more energy.

Remove the default driver, the related code and register the driver directly.

[compiled only - no board - no test]

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/common.h
arch/arm/mach-shmobile/cpuidle.c [deleted file]
arch/arm/mach-shmobile/pm-sh7372.c

Simple merge
Simple merge
diff --cc arch/arm/mach-shmobile/cpuidle.c
Simple merge
Simple merge