[CPUFREQ] Remove cpufreq_stats sysfs entries on module unload.
[linux-2.6.git] / drivers / cpufreq / cpufreq_stats.c
index b60a4c2..853f92d 100644 (file)
@@ -387,6 +387,7 @@ static void __exit cpufreq_stats_exit(void)
        unregister_hotcpu_notifier(&cpufreq_stat_cpu_notifier);
        for_each_online_cpu(cpu) {
                cpufreq_stats_free_table(cpu);
+               cpufreq_stats_free_sysfs(cpu);
        }
 }