diff options
Diffstat (limited to 'drivers/cpufreq/cpufreq_stats.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_stats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c index 19b4c3e7c390..7ddf714c4d43 100644 --- a/drivers/cpufreq/cpufreq_stats.c +++ b/drivers/cpufreq/cpufreq_stats.c | |||
@@ -247,6 +247,7 @@ cpufreq_stats_create_table (struct cpufreq_policy *policy, | |||
247 | return 0; | 247 | return 0; |
248 | error_out: | 248 | error_out: |
249 | cpufreq_cpu_put(data); | 249 | cpufreq_cpu_put(data); |
250 | error_get_fail: | ||
250 | kfree(stat); | 251 | kfree(stat); |
251 | cpufreq_stats_table[cpu] = NULL; | 252 | cpufreq_stats_table[cpu] = NULL; |
252 | return ret; | 253 | return ret; |