diff options
author | Dave Jones <davej@redhat.com> | 2008-02-07 22:33:49 +0100 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2008-04-28 21:05:41 +0200 |
commit | 4d34a67d0204029079815c8c2753ca647cd0e7e9 (patch) | |
tree | 710824c28fe784d144bd981ab4f24257766e408a /drivers/cpufreq | |
parent | [CPUFREQ] Slightly shorten the error paths of cpufreq_suspend/cpufreq_resume (diff) | |
download | linux-4d34a67d0204029079815c8c2753ca647cd0e7e9.tar.xz linux-4d34a67d0204029079815c8c2753ca647cd0e7e9.zip |
[CPUFREQ] CodingStyle
return is not a function.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 0d054873da75..c6a4ff7a0b0d 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -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); @@ -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); @@ -1163,7 +1163,7 @@ static unsigned int __cpufreq_get(unsigned int cpu) } } - return (ret_freq); + return ret_freq; } /** @@ -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); @@ -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); |