diff options
author | Dave Jones <davej@redhat.com> | 2008-02-07 16:33:49 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2008-04-28 15:05:41 -0400 |
commit | 4d34a67d0204029079815c8c2753ca647cd0e7e9 (patch) | |
tree | 710824c28fe784d144bd981ab4f24257766e408a /drivers/cpufreq/cpufreq.c | |
parent | c906049447019d69b9cc2d591a142af561afa7f9 (diff) |
[CPUFREQ] CodingStyle
return is not a function.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-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) | |||
1138 | cpufreq_cpu_put(policy); | 1138 | cpufreq_cpu_put(policy); |
1139 | } | 1139 | } |
1140 | 1140 | ||
1141 | return (ret_freq); | 1141 | return ret_freq; |
1142 | } | 1142 | } |
1143 | EXPORT_SYMBOL(cpufreq_quick_get); | 1143 | EXPORT_SYMBOL(cpufreq_quick_get); |
1144 | 1144 | ||
@@ -1149,7 +1149,7 @@ static unsigned int __cpufreq_get(unsigned int cpu) | |||
1149 | unsigned int ret_freq = 0; | 1149 | unsigned int ret_freq = 0; |
1150 | 1150 | ||
1151 | if (!cpufreq_driver->get) | 1151 | if (!cpufreq_driver->get) |
1152 | return (ret_freq); | 1152 | return ret_freq; |
1153 | 1153 | ||
1154 | ret_freq = cpufreq_driver->get(cpu); | 1154 | ret_freq = cpufreq_driver->get(cpu); |
1155 | 1155 | ||
@@ -1163,7 +1163,7 @@ static unsigned int __cpufreq_get(unsigned int cpu) | |||
1163 | } | 1163 | } |
1164 | } | 1164 | } |
1165 | 1165 | ||
1166 | return (ret_freq); | 1166 | return ret_freq; |
1167 | } | 1167 | } |
1168 | 1168 | ||
1169 | /** | 1169 | /** |
@@ -1190,7 +1190,7 @@ unsigned int cpufreq_get(unsigned int cpu) | |||
1190 | out_policy: | 1190 | out_policy: |
1191 | cpufreq_cpu_put(policy); | 1191 | cpufreq_cpu_put(policy); |
1192 | out: | 1192 | out: |
1193 | return (ret_freq); | 1193 | return ret_freq; |
1194 | } | 1194 | } |
1195 | EXPORT_SYMBOL(cpufreq_get); | 1195 | EXPORT_SYMBOL(cpufreq_get); |
1196 | 1196 | ||
@@ -1842,7 +1842,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data) | |||
1842 | cpufreq_debug_enable_ratelimit(); | 1842 | cpufreq_debug_enable_ratelimit(); |
1843 | } | 1843 | } |
1844 | 1844 | ||
1845 | return (ret); | 1845 | return ret; |
1846 | } | 1846 | } |
1847 | EXPORT_SYMBOL_GPL(cpufreq_register_driver); | 1847 | EXPORT_SYMBOL_GPL(cpufreq_register_driver); |
1848 | 1848 | ||