Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323446
b: refs/heads/master
c: a5785cc
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Prémont authored and Jiri Kosina committed Sep 5, 2012
1 parent 04e7fb0 commit 65e2777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 9277738ddde993b01d4119f61b9e5cbdf8d47ab3
refs/heads/master: a5785cc0101928663c8ed89f42afea719aecee09
2 changes: 1 addition & 1 deletion trunk/drivers/hid/hid-picolcd_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,6 @@ static void picolcd_remove(struct hid_device *hdev)
device_remove_file(&hdev->dev, &dev_attr_operation_mode_delay);
hid_hw_close(hdev);
hid_hw_stop(hdev);
hid_set_drvdata(hdev, NULL);

/* Shortcut potential pending reply that will never arrive */
spin_lock_irqsave(&data->lock, flags);
Expand All @@ -671,6 +670,7 @@ static void picolcd_remove(struct hid_device *hdev)
picolcd_exit_cir(data);
picolcd_exit_keys(data);

hid_set_drvdata(hdev, NULL);
mutex_destroy(&data->mutex);
/* Finally, clean up the picolcd data itself */
kfree(data);
Expand Down

0 comments on commit 65e2777

Please sign in to comment.