]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ARM: SAMSUNG: Move common save/restore helpers to separate file
authorTomasz Figa <t.figa@samsung.com>
Mon, 17 Mar 2014 22:28:10 +0000 (07:28 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Mar 2014 19:09:25 +0000 (04:09 +0900)
commitb27899178c53226a5ff780a17657c84eb5e32338
tree7f9072ef4258ff729173ed5b96c8673e0d37f3b4
parent72551f6cf13e2f3a1d273b7007b5d7d7fd69c554
ARM: SAMSUNG: Move common save/restore helpers to separate file

To separate legacy PM code from generic helpers, this patch moves the
generic register save/restore helpers to a new file called pm-common.c
that is compiled always when CONFIG_PM_SLEEP is enabled, to allow
platforms that do not want to use the legacy PM code use the generic
helpers.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/include/plat/pm-common.h
arch/arm/plat-samsung/include/plat/pm.h
arch/arm/plat-samsung/pm-common.c [new file with mode: 0644]
arch/arm/plat-samsung/pm.c