[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:
@@ -247,6 +247,7 @@ cpufreq_stats_create_table (struct cpufreq_policy *policy,
|
|||||||
return 0;
|
return 0;
|
||||||
error_out:
|
error_out:
|
||||||
cpufreq_cpu_put(data);
|
cpufreq_cpu_put(data);
|
||||||
|
error_get_fail:
|
||||||
kfree(stat);
|
kfree(stat);
|
||||||
cpufreq_stats_table[cpu] = NULL;
|
cpufreq_stats_table[cpu] = NULL;
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user