summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/pm-sh7372.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-06-24 22:00:13 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-06-24 22:00:13 +0200
commit1645b767185929b7417bb6f03ae2f370a9a767b1 (patch)
tree2c4aa05d186fd8e5dd12de5fe057a48f82670b11 /arch/arm/mach-shmobile/pm-sh7372.c
parent485802a6c524e62b5924849dd727ddbb1497cc71 (diff)
ARM: shmobile: sh7372: remove unused sh7372_a3sp_init() on !CONFIG_PM
767c0f3aed74be56f268709f5347e6c86d52b408 (PM / shmobile: Remove the stay_on flag from SH7372's PM domains) commit removed sh7372_a3sp_init(). Now, there is no user for it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/pm-sh7372.c')
-rw-r--r--arch/arm/mach-shmobile/pm-sh7372.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c
index a3bdb12acde..44daaee9df9 100644
--- a/arch/arm/mach-shmobile/pm-sh7372.c
+++ b/arch/arm/mach-shmobile/pm-sh7372.c
@@ -290,12 +290,7 @@ struct sh7372_pm_domain sh7372_a3sg = {
.genpd.name = "A3SG",
.bit_shift = 13,
};
-
-#else /* !CONFIG_PM */
-
-static inline void sh7372_a3sp_init(void) {}
-
-#endif /* !CONFIG_PM */
+#endif /* CONFIG_PM */
#if defined(CONFIG_SUSPEND) || defined(CONFIG_CPU_IDLE)
static int sh7372_do_idle_core_standby(unsigned long unused)