summaryrefslogtreecommitdiff
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
parentd4e4ab86bcba5a72779c43dc1459f71fea3d89c8 (diff)
parent9aadfa8fd9f8d311ba3014bf76e4d8aeee515533 (diff)
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);