Commit c1e1fbb2 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Fix an oops unloading p4-clockmod.

Reverting frequency changes on unloading is uncommon for cpufreq drivers
so let's remove this speciality.
parent 9d19aa36
......@@ -246,7 +246,7 @@ static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy)
static int cpufreq_p4_cpu_exit(struct cpufreq_policy *policy)
{
cpufreq_frequency_table_put_attr(policy->cpu);
return cpufreq_p4_setdc(policy->cpu, DC_DISABLE);
return 0;
}
static struct freq_attr* p4clockmod_attr[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment