From db295c89378fa7c9cfffd1ed08b9c77d2d1dd9ea Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Mon, 9 Mar 2015 12:26:45 +0000 Subject: cpufreq: Revert "cpufreq: suspend governors on system suspend/hibernate" This reverts commit adb665056afe23db0687c1d1a208806c108add08. The commit has too many hidden dependencies to be sensibly backported. Signed-off-by: Mark Brown --- include/linux/cpufreq.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 00b0e0a9fca3..037d36ae63e5 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -306,18 +306,6 @@ struct freq_attr { static struct freq_attr _name = \ __ATTR(_name, 0444, show_##_name, NULL) -#ifdef CONFIG_CPU_FREQ -void cpufreq_suspend(void); -void cpufreq_resume(void); -#else -static inline void cpufreq_suspend(void) {} -static inline void cpufreq_resume(void) {} -#endif - -/********************************************************************* - * CPUFREQ NOTIFIER INTERFACE * - *********************************************************************/ - #define cpufreq_freq_attr_ro_perm(_name, _perm) \ static struct freq_attr _name = \ __ATTR(_name, _perm, show_##_name, NULL) -- cgit v1.2.3