diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-12-20 22:33:30 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-12-20 22:40:44 +0100 |
commit | 1fd3cbccaf47aefbe3bfb026d310cd2f5d0685c6 (patch) | |
tree | e8082d270edf395251a84e182bbd3771e0f55035 /arch/arm/mach-exynos/common.c | |
parent | ARM: EXYNOS: Consolidate selection of PM_GENERIC_DOMAINS for Exynos4 (diff) | |
download | linux-1fd3cbccaf47aefbe3bfb026d310cd2f5d0685c6.tar.xz linux-1fd3cbccaf47aefbe3bfb026d310cd2f5d0685c6.zip |
ARM: EXYNOS: Kill exynos_pm_late_initcall()
The only thing exynos_pm_late_initcall() does is calling
pm_genpd_poweroff_unused(), which is already stubbed when
CONFIG_PM_GENERIC_DOMAINS is not enabled. So replace
exynos_pm_late_initcall() with a direct call to
pm_genpd_poweroff_unused().
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/common.c')
-rw-r--r-- | arch/arm/mach-exynos/common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 52cef6a2a825..72ae5d3a87d2 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -23,6 +23,7 @@ #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/of_irq.h> +#include <linux/pm_domain.h> #include <linux/export.h> #include <linux/irqdomain.h> #include <linux/of_address.h> @@ -308,7 +309,7 @@ void __init exynos_init_late(void) /* to be supported later */ return; - exynos_pm_late_initcall(); + pm_genpd_poweroff_unused(); } static int __init exynos_fdt_map_chipid(unsigned long node, const char *uname, |