summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/governors/menu.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-14 22:18:04 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-14 22:18:04 +0200
commitee42f75dba3c66e559a13ac86ad1889d2a396378 (patch)
treec2e234d229ff467999cfb366f1edef80ea243433 /drivers/cpuidle/governors/menu.c
parentLinux 3.11-rc5 (diff)
parentMerge branch 'cpuidle-arm' into pm-cpuidle (diff)
downloadlinux-ee42f75dba3c66e559a13ac86ad1889d2a396378.tar.xz
linux-ee42f75dba3c66e559a13ac86ad1889d2a396378.zip
Merge back earlier 'pm-cpuidle' material.
Diffstat (limited to 'drivers/cpuidle/governors/menu.c')
-rw-r--r--drivers/cpuidle/governors/menu.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
index bc580b67a652..cbbb73b37a6d 100644
--- a/drivers/cpuidle/governors/menu.c
+++ b/drivers/cpuidle/governors/menu.c
@@ -442,14 +442,4 @@ static int __init init_menu(void)
return cpuidle_register_governor(&menu_governor);
}
-/**
- * exit_menu - exits the governor
- */
-static void __exit exit_menu(void)
-{
- cpuidle_unregister_governor(&menu_governor);
-}
-
-MODULE_LICENSE("GPL");
-module_init(init_menu);
-module_exit(exit_menu);
+postcore_initcall(init_menu);