Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157167
b: refs/heads/master
c: e29b3ee
h: refs/heads/master
i:
  157165: 59d9d44
  157163: e1f2724
  157159: d1580b5
  157151: b56b856
v: v3
  • Loading branch information
Keith Packard authored and Len Brown committed Aug 28, 2009
1 parent c3dc247 commit c1b764e
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: 82e7784f57a81faf673b09bc468e736d582fe754
refs/heads/master: e29b3ee3b005897fbdcfdd4b3190776e38739d70
7 changes: 5 additions & 2 deletions trunk/drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -2004,8 +2004,11 @@ static int acpi_video_bus_put_one_device(struct acpi_video_device *device)
status = acpi_remove_notify_handler(device->dev->handle,
ACPI_DEVICE_NOTIFY,
acpi_video_device_notify);
sysfs_remove_link(&device->backlight->dev.kobj, "device");
backlight_device_unregister(device->backlight);
if (device->backlight) {
sysfs_remove_link(&device->backlight->dev.kobj, "device");
backlight_device_unregister(device->backlight);
device->backlight = NULL;
}
if (device->cdev) {
sysfs_remove_link(&device->dev->dev.kobj,
"thermal_cooling");
Expand Down

0 comments on commit c1b764e

Please sign in to comment.