Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30713
b: refs/heads/master
c: e7374e4
h: refs/heads/master
i:
  30711: 87b5ebb
v: v3
  • Loading branch information
Dmitry Torokhov authored and Linus Torvalds committed Jun 27, 2006
1 parent ec6689f commit 4760b81
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d38b69689c349f35502b92e20dafb30c62d49d63
refs/heads/master: e7374e48009a15a680d53bd1f9828b9b79a8aac9
3 changes: 2 additions & 1 deletion trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,12 +998,13 @@ void input_unregister_device(struct input_dev *dev)
sysfs_remove_group(&dev->cdev.kobj, &input_dev_caps_attr_group);
sysfs_remove_group(&dev->cdev.kobj, &input_dev_id_attr_group);
sysfs_remove_group(&dev->cdev.kobj, &input_dev_attr_group);
class_device_unregister(&dev->cdev);

mutex_lock(&dev->mutex);
dev->name = dev->phys = dev->uniq = NULL;
mutex_unlock(&dev->mutex);

class_device_unregister(&dev->cdev);

input_wakeup_procfs_readers();
}
EXPORT_SYMBOL(input_unregister_device);
Expand Down

0 comments on commit 4760b81

Please sign in to comment.