[CPUFREQ] Fix up compile of cpufreq_stats
Whoops, I lost a hunk of the last patch somehow. Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
bc7b26fd7c
commit
b7fb358c7c
|
@ -247,6 +247,7 @@ cpufreq_stats_create_table (struct cpufreq_policy *policy,
|
|||
return 0;
|
||||
error_out:
|
||||
cpufreq_cpu_put(data);
|
||||
error_get_fail:
|
||||
kfree(stat);
|
||||
cpufreq_stats_table[cpu] = NULL;
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue