Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86116
b: refs/heads/master
c: 43ff39f
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Sujith authored and Len Brown committed Feb 15, 2008
1 parent 26b6761 commit d4d7d8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d76628c67cdeebf84766a19c67c821c2e518baa4
refs/heads/master: 43ff39f2f6450fa2e9a566f8bf007a26d76f2c9d
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,9 @@ static void acpi_video_device_find_cap(struct acpi_video_device *device)

device->cdev = thermal_cooling_device_register("LCD",
device->dev, &video_cooling_ops);
if (IS_ERR(device->cdev))
return;

if (device->cdev) {
printk(KERN_INFO PREFIX
"%s is registered as cooling_device%d\n",
Expand Down

0 comments on commit d4d7d8a

Please sign in to comment.