diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-10-03 21:26:55 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-30 01:21:24 +0100 |
commit | f60e230f6be5672241e48434a6c2a417d9674d42 (patch) | |
tree | d9d85f65cb3c377d517d5cf7ba51dadbac81820c /include/linux/cpuidle.h | |
parent | d7c7f103262bc2248548ed0e113e916e843c4eeb (diff) | |
download | linux-stable-f60e230f6be5672241e48434a6c2a417d9674d42.tar.gz linux-stable-f60e230f6be5672241e48434a6c2a417d9674d42.tar.bz2 linux-stable-f60e230f6be5672241e48434a6c2a417d9674d42.zip |
cpuidle: remove cpuidle_unregister_governor()
cpuidle_unregister_governor() and cpuidle_replace_governor() aren't
used anymore and can be removed. They were used by cpufreq governors
earlier, but since the governors can't be compiled as modules any
more, these two functions aren't necessary.
Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpuidle.h')
-rw-r--r-- | include/linux/cpuidle.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index c082425757f4..50fcbb0ac4e7 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -195,16 +195,10 @@ struct cpuidle_governor { }; #ifdef CONFIG_CPU_IDLE - extern int cpuidle_register_governor(struct cpuidle_governor *gov); -extern void cpuidle_unregister_governor(struct cpuidle_governor *gov); - #else - static inline int cpuidle_register_governor(struct cpuidle_governor *gov) {return 0;} -static inline void cpuidle_unregister_governor(struct cpuidle_governor *gov) { } - #endif #ifdef CONFIG_ARCH_HAS_CPU_RELAX |