diff options
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq.c')
-rw-r--r-- | drivers/cpufreq/ppc_cbe_cpufreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/ppc_cbe_cpufreq.c b/drivers/cpufreq/ppc_cbe_cpufreq.c index 41a0f0be3f9f..8414c3a4ea08 100644 --- a/drivers/cpufreq/ppc_cbe_cpufreq.c +++ b/drivers/cpufreq/ppc_cbe_cpufreq.c | |||
@@ -86,6 +86,7 @@ static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy) | |||
86 | if (!cbe_get_cpu_pmd_regs(policy->cpu) || | 86 | if (!cbe_get_cpu_pmd_regs(policy->cpu) || |
87 | !cbe_get_cpu_mic_tm_regs(policy->cpu)) { | 87 | !cbe_get_cpu_mic_tm_regs(policy->cpu)) { |
88 | pr_info("invalid CBE regs pointers for cpufreq\n"); | 88 | pr_info("invalid CBE regs pointers for cpufreq\n"); |
89 | of_node_put(cpu); | ||
89 | return -EINVAL; | 90 | return -EINVAL; |
90 | } | 91 | } |
91 | 92 | ||