]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: EXYNOS: Use cpuidle_register
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 8 May 2014 21:43:26 +0000 (06:43 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 25 May 2014 20:21:06 +0000 (05:21 +0900)
commit043c86b6f2d54cfee8ec67e1f7f49156a68b2bd2
tree447cfd1bb06e6c0d2d73c4dda753bb0c71e2bc80
parent53af16a1a8d6776b19747291b39f0d4cbda42d92
ARM: EXYNOS: Use cpuidle_register

Use the cpuidle generic function 'cpuidle_register'. That saves us
from some extra lines of code and unneeded variables.

A side effect of this change is a bug fix where before the cpuidle
driver was registered for each_online_cpu and now it is for
each_possible_cpu.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/cpuidle.c