Skip to content

Commit

Permalink
[CPUFREQ] CodingStyle
Browse files Browse the repository at this point in the history
return is not a function.

Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed Apr 28, 2008
1 parent c906049 commit 4d34a67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/cpufreq/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ unsigned int cpufreq_quick_get(unsigned int cpu)
cpufreq_cpu_put(policy);
}

return (ret_freq);
return ret_freq;
}
EXPORT_SYMBOL(cpufreq_quick_get);

Expand All @@ -1149,7 +1149,7 @@ static unsigned int __cpufreq_get(unsigned int cpu)
unsigned int ret_freq = 0;

if (!cpufreq_driver->get)
return (ret_freq);
return ret_freq;

ret_freq = cpufreq_driver->get(cpu);

Expand All @@ -1163,7 +1163,7 @@ static unsigned int __cpufreq_get(unsigned int cpu)
}
}

return (ret_freq);
return ret_freq;
}

/**
Expand All @@ -1190,7 +1190,7 @@ unsigned int cpufreq_get(unsigned int cpu)
out_policy:
cpufreq_cpu_put(policy);
out:
return (ret_freq);
return ret_freq;
}
EXPORT_SYMBOL(cpufreq_get);

Expand Down Expand Up @@ -1842,7 +1842,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
cpufreq_debug_enable_ratelimit();
}

return (ret);
return ret;
}
EXPORT_SYMBOL_GPL(cpufreq_register_driver);

Expand Down

0 comments on commit 4d34a67

Please sign in to comment.