]> git.baikalelectronics.ru Git - kernel.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)
commit44398fc2e04afa6f3ba6b78511f9e808e55ab947
treea67595bc1ea34fbdb942a7b5d04a13d0e9f6ab4b
parenta3acd5f78d70ed2c04aba0de69fca7d169723caa
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