cpufreq: attach __exit to the (unused) cpufreq governor exit handlers

... in order to make them disappear from the final image. Of course
they could as well be removed altogether, but I assumed that whoever
added them had a reason to do so.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
Keir Fraser committed 2009-02-03 18:13:22 +00:00
1 parent 77699d4240
commit 7beb0a2feb
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -61,7 +61,7 @@ static int __init cpufreq_gov_userspace_init(void)
}
__initcall(cpufreq_gov_userspace_init);
static void cpufreq_gov_userspace_exit(void)
static void __exit cpufreq_gov_userspace_exit(void)
{
cpufreq_unregister_governor(&cpufreq_gov_userspace);
}
@@ -106,7 +106,7 @@ static int __init cpufreq_gov_performance_init(void)
}
__initcall(cpufreq_gov_performance_init);
static void cpufreq_gov_performance_exit(void)
static void __exit cpufreq_gov_performance_exit(void)
{
cpufreq_unregister_governor(&cpufreq_gov_performance);
}
@@ -151,7 +151,7 @@ static int __init cpufreq_gov_powersave_init(void)
}
__initcall(cpufreq_gov_powersave_init);
static void cpufreq_gov_powersave_exit(void)
static void __exit cpufreq_gov_powersave_exit(void)
{
cpufreq_unregister_governor(&cpufreq_gov_powersave);
}
+1 -1
View File
@@ -333,7 +333,7 @@ static int __init cpufreq_gov_dbs_init(void)
}
__initcall(cpufreq_gov_dbs_init);
static void cpufreq_gov_dbs_exit(void)
static void __exit cpufreq_gov_dbs_exit(void)
{
cpufreq_unregister_governor(&cpufreq_gov_dbs);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.