Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288957
b: refs/heads/master
c: 60955f1
h: refs/heads/master
i:
  288955: df33cf2
v: v3
  • Loading branch information
Szymon Janc authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent 30f1c9d commit b574712
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 2ac16967b8de55ec1cfb596717b3a68b0d5b42f7
refs/heads/master: 60955f15d93198ef33081e01f46223c7bd534f1e
8 changes: 5 additions & 3 deletions trunk/drivers/staging/quickstart/quickstart.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,15 @@ static int quickstart_acpi_add(struct acpi_device *device)

static int quickstart_acpi_remove(struct acpi_device *device, int type)
{
acpi_status status = 0;
struct quickstart_acpi *quickstart = NULL;
acpi_status status;
struct quickstart_acpi *quickstart;

if (!device || !acpi_driver_data(device))
if (!device)
return -EINVAL;

quickstart = acpi_driver_data(device);
if (!quickstart)
return -EINVAL;

status = acpi_remove_notify_handler(device->handle, ACPI_ALL_NOTIFY,
quickstart_acpi_notify);
Expand Down

0 comments on commit b574712

Please sign in to comment.