Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202465
b: refs/heads/master
c: 8e4e2ef
h: refs/heads/master
i:
  202463: 69d7d14
v: v3
  • Loading branch information
Axel Lin authored and Matthew Garrett committed Aug 3, 2010
1 parent e2aef3f commit 5f25ee8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 24964639e132375f3d7eee9354b565aaa824d1dd
refs/heads/master: 8e4e2efdfab5448b0a01be8883d62fc90cce2a7e
6 changes: 2 additions & 4 deletions trunk/drivers/platform/x86/fujitsu-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ static int acpi_fujitsu_add(struct acpi_device *device)

err_unregister_input_dev:
input_unregister_device(input);
input = NULL;
err_free_input_dev:
input_free_device(input);
err_stop:
Expand All @@ -738,8 +739,6 @@ static int acpi_fujitsu_remove(struct acpi_device *device, int type)

input_unregister_device(input);

input_free_device(input);

fujitsu->acpi_handle = NULL;

return 0;
Expand Down Expand Up @@ -930,6 +929,7 @@ static int acpi_fujitsu_hotkey_add(struct acpi_device *device)

err_unregister_input_dev:
input_unregister_device(input);
input = NULL;
err_free_input_dev:
input_free_device(input);
err_free_fifo:
Expand All @@ -953,8 +953,6 @@ static int acpi_fujitsu_hotkey_remove(struct acpi_device *device, int type)

input_unregister_device(input);

input_free_device(input);

kfifo_free(&fujitsu_hotkey->fifo);

fujitsu_hotkey->acpi_handle = NULL;
Expand Down

0 comments on commit 5f25ee8

Please sign in to comment.