ARM: EXYNOS: Remove PM initcalls and useless indirection
authorTomasz Figa <t.figa@samsung.com>
Mon, 17 Mar 2014 22:28:22 +0000 (07:28 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Mar 2014 19:09:27 +0000 (04:09 +0900)
commit559ba237999d723ccba5b4a75cf6b280bac1ab21
tree763d8c73834bde6b5c65e3e04241c215468d390c
parentdbc5ca163dc46153a8e5249da627af571ae47c10
ARM: EXYNOS: Remove PM initcalls and useless indirection

This patch simplifies Exynos PM initialization and makes it
multiplatform friendly by replacing initcalls used originally to invoke
all the initialization code with explicit function calls.

In addition, an useless subsys_interface is removed, as all its .add_dev
callback did was setting two function pointers.

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