SH: cpuidle: initialize the driver's states directly
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 17 Apr 2013 13:32:56 +0000 (13:32 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 21 Apr 2013 22:35:53 +0000 (00:35 +0200)
commit0a4f841e9c473be84a1ed0c14f65058c29238ce1
tree3dee0798633f85e9b4cb745eadd7a1258abda49f
parent194db92fd20cd7733f1ee06b330af93e10dfe727
SH: cpuidle: initialize the driver's states directly

Like all the other drivers, let's initialize the structure a compile time
instead of init time.

The states #1 and #2 are not enabled by default. The init function will
check the features of the board in order to enable the state.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/sh/kernel/cpu/shmobile/cpuidle.c