ARM: EXYNOS: move restart code into pmu driver
authorPankaj Dubey <pankaj.dubey@samsung.com>
Sat, 22 Nov 2014 14:10:23 +0000 (23:10 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 22 Nov 2014 14:10:23 +0000 (23:10 +0900)
commit8cfc7fdd33080e30b86d21b1a8c9ad0686427ddc
tree38bb9a77691ef9b4448205c694bdfa4f5caaf367
parent5e6473f422909a9f929619c04c6bab7620531b69
ARM: EXYNOS: move restart code into pmu driver

Let's register restart handler from PMU driver for restart
functionality. So that we can remove restart hooks from
machine specific file, and thus moving ahead when PMU moved
to driver folder, this functionality can be reused for ARM64
based Exynos SoC's.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/common.h
arch/arm/mach-exynos/exynos.c
arch/arm/mach-exynos/pmu.c