Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334223
b: refs/heads/master
c: c072fed
h: refs/heads/master
i:
  334221: c4a34cf
  334219: e23c70f
  334215: cf5ad70
  334207: dca9720
v: v3
  • Loading branch information
Sachin Kamat authored and Zhang Rui committed Sep 28, 2012
1 parent 33dfd0b commit 1bfa609
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a4b6fec977020a508ff04b05f0fa01221a4ecf29
refs/heads/master: c072fed95c9855a920c114d7fa3351f0f54ea06e
7 changes: 5 additions & 2 deletions trunk/drivers/thermal/exynos_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,14 @@ static void exynos_unregister_thermal(void)
{
int i;

if (th_zone && th_zone->therm_dev)
if (!th_zone)
return;

if (th_zone->therm_dev)
thermal_zone_device_unregister(th_zone->therm_dev);

for (i = 0; i < th_zone->cool_dev_size; i++) {
if (th_zone && th_zone->cool_dev[i])
if (th_zone->cool_dev[i])
cpufreq_cooling_unregister(th_zone->cool_dev[i]);
}

Expand Down

0 comments on commit 1bfa609

Please sign in to comment.