]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7d3794613f2eec66a7be87be0bbf67905c0f553
treee6956dc136bae5d1be137e6408a8c8098e5e7e67
parentfa400b58773e1788706a7c47f16dce1540ee4902
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