[CPUFREQ] Remove cpufreq_stats sysfs entries on module unload.
cpufreq_stats leaves behind its sysfs entries, which causes a panic
when something stumbled across them.
(Discovered by unloading cpufreq_stats while powertop was loaded).
Signed-off-by: NDave Jones <davej@redhat.com>
Cc: stable@kernel.org
Showing
想要评论请 注册 或 登录