]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: EXYNOS: Use the cpu_pm notifier for pm
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 8 May 2014 21:43:27 +0000 (06:43 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 25 May 2014 20:21:07 +0000 (05:21 +0900)
commit85f9f90808b4437bbdff1dff2c80663dae57ab51
treea67595bc1ea34fbdb942a7b5d04a13d0e9f6ab4b
parent9bd5544af89618f2f5bee31a7ef24d987f2b3f1d
ARM: EXYNOS: Use the cpu_pm notifier for pm

Use the cpu_pm_enter/exit notifier to group some pm code inside the
pm file.

The save and restore code is duplicated across pm.c and cpuidle.c. By
using the cpu_pm notifier, we can factor out the routine.

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