ARM: EXYNOS: mcpm rename the power_down_finish
authorKukjin Kim <kgene.kim@samsung.com>
Tue, 27 May 2014 15:04:34 +0000 (00:04 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 30 May 2014 18:01:36 +0000 (03:01 +0900)
Since commit 166aaf39 ("ARM: 8029/1: mcpm: Rename the power_down_finish()
functions to be less confusing") changed the name of power_down_finish to
wait_for_cpu_powerdown, so use new member name wait_for_cpu_powerdown.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/mcpm-exynos.c

index 20707bdfca6d2e93cae5424c932c0217ad6053aa..0498d0b887eff0d0b5e9d9273a3f94b0d46d7255 100644 (file)
@@ -235,7 +235,7 @@ static void exynos_power_down(void)
        /* Not dead at this point?  Let our caller cope. */
 }
 
-static int exynos_power_down_finish(unsigned int cpu, unsigned int cluster)
+static int exynos_wait_for_powerdown(unsigned int cpu, unsigned int cluster)
 {
        unsigned int tries = 100;
        unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER);
@@ -261,7 +261,7 @@ static int exynos_power_down_finish(unsigned int cpu, unsigned int cluster)
 static const struct mcpm_platform_ops exynos_power_ops = {
        .power_up               = exynos_power_up,
        .power_down             = exynos_power_down,
-       .power_down_finish      = exynos_power_down_finish,
+       .wait_for_powerdown     = exynos_wait_for_powerdown,
 };
 
 static void __init exynos_mcpm_usage_count_init(void)