Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334222
b: refs/heads/master
c: a4b6fec
h: refs/heads/master
v: v3
  • Loading branch information
Jonghwa Lee authored and Zhang Rui committed Sep 27, 2012
1 parent c4a34cf commit 33dfd0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79e093c3fe9de9fe0743a53e4809f481d2719060
refs/heads/master: a4b6fec977020a508ff04b05f0fa01221a4ecf29
3 changes: 1 addition & 2 deletions trunk/drivers/thermal/cpu_cooling.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ struct thermal_cooling_device *cpufreq_cooling_register(
struct cpufreq_cooling_device *cpufreq_dev = NULL;
unsigned int cpufreq_dev_count = 0, min = 0, max = 0;
char dev_name[THERMAL_NAME_LENGTH];
int ret = 0, id = 0, i;
int ret = 0, i;
struct cpufreq_policy policy;

list_for_each_entry(cpufreq_dev, &cooling_cpufreq_list, node)
Expand Down Expand Up @@ -396,7 +396,6 @@ struct thermal_cooling_device *cpufreq_cooling_register(
kfree(cpufreq_dev);
return ERR_PTR(-EINVAL);
}
cpufreq_dev->id = id;
cpufreq_dev->cool_dev = cool_dev;
cpufreq_dev->cpufreq_state = 0;
mutex_lock(&cooling_cpufreq_lock);
Expand Down

0 comments on commit 33dfd0b

Please sign in to comment.