diff options
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 7a7859dd0d98..10b014982381 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -1130,7 +1130,7 @@ int cpufreq_driver_target(struct cpufreq_policy *policy, | |||
1130 | unsigned int target_freq, | 1130 | unsigned int target_freq, |
1131 | unsigned int relation) | 1131 | unsigned int relation) |
1132 | { | 1132 | { |
1133 | unsigned int ret; | 1133 | int ret; |
1134 | 1134 | ||
1135 | policy = cpufreq_cpu_get(policy->cpu); | 1135 | policy = cpufreq_cpu_get(policy->cpu); |
1136 | if (!policy) | 1136 | if (!policy) |
@@ -1151,7 +1151,7 @@ EXPORT_SYMBOL_GPL(cpufreq_driver_target); | |||
1151 | 1151 | ||
1152 | static int __cpufreq_governor(struct cpufreq_policy *policy, unsigned int event) | 1152 | static int __cpufreq_governor(struct cpufreq_policy *policy, unsigned int event) |
1153 | { | 1153 | { |
1154 | int ret = -EINVAL; | 1154 | int ret; |
1155 | 1155 | ||
1156 | if (!try_module_get(policy->governor->owner)) | 1156 | if (!try_module_get(policy->governor->owner)) |
1157 | return -EINVAL; | 1157 | return -EINVAL; |