OSDN Git Service

ARM: S3C64XX: declare the states with the new api on cpuidle
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 17 May 2012 22:19:42 +0000 (07:19 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 17 May 2012 22:19:42 +0000 (07:19 +0900)
commit4c8b20752893d58bc7b6489c0610951076b0fce8
treee6956dc136bae5d1be137e6408a8c8098e5e7e67
parent36be50515fe2aef61533b516fa2576a2c7fe7664
ARM: S3C64XX: declare the states with the new api on cpuidle

The states are now part of the cpuidle_driver structure, so we can
declare the states in this structure directly. That saves us an extra
variable declaration and a memcpy.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/cpuidle.c