Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7804
b: refs/heads/master
c: 031ec77
h: refs/heads/master
v: v3
  • Loading branch information
Karol Kozimor authored and Len Brown committed Aug 5, 2005
1 parent 7e7dcfd commit 2f293dc
Show file tree
Hide file tree
Showing 2 changed files with 8 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: e92310a930462c6e1611f35453f57357c42bde14
refs/heads/master: 031ec77bf67e4bda994ef8ceba267be3295ffdb7
7 changes: 7 additions & 0 deletions trunk/drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1665,6 +1665,7 @@ static int
acpi_video_bus_put_one_device(
struct acpi_video_device *device)
{
acpi_status status;
struct acpi_video_bus *video;

ACPI_FUNCTION_TRACE("acpi_video_bus_put_one_device");
Expand All @@ -1679,6 +1680,12 @@ acpi_video_bus_put_one_device(
up(&video->sem);
acpi_video_device_remove_fs(device->dev);

status = acpi_remove_notify_handler(device->handle,
ACPI_DEVICE_NOTIFY, acpi_video_device_notify);
if (ACPI_FAILURE(status))
ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
"Error removing notify handler\n"));

return_VALUE(0);
}

Expand Down

0 comments on commit 2f293dc

Please sign in to comment.