From: Kuninori Morimoto Date: Sun, 24 Jun 2012 20:00:13 +0000 (+0200) Subject: ARM: shmobile: sh7372: remove unused sh7372_a3sp_init() on !CONFIG_PM X-Git-Tag: v3.6-rc1~63^2~1^2~1^2~5 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=1645b767185929b7417bb6f03ae2f370a9a767b1;p=linux.git 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 Reviewed-by: Simon Horman Signed-off-by: Rafael J. Wysocki --- diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c index a3bdb12acde9..44daaee9df93 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)