]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: EXYNOS: Move the power sequence call in the cpu_pm notifier
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 8 May 2014 21:55:12 +0000 (06:55 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 25 May 2014 20:21:08 +0000 (05:21 +0900)
commit0ebc13e2a2353f76ecdca11cf4d49da0b4e77f09
tree20c5c6accf7376210a502e3edc75cf6a7ac657ec
parent3681bafeb1e4781bdeaecd19aa8c9f6d0db90f6f
ARM: EXYNOS: Move the power sequence call in the cpu_pm notifier

The code to initiate and exit the powerdown sequence is the same in
pm.c and cpuidle.c.

Let's split the common part in the pm.c and reuse it from the cpu_pm notifier.

That is one more step forward to make the cpuidle driver arch indenpendant.

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
arch/arm/mach-exynos/pm.c