projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f94548
)
Input: fix input device deregistration
author
Dmitry Torokhov
<dtor_core@ameritech.net>
Thu, 3 Nov 2005 03:52:16 +0000
(22:52 -0500)
committer
Dmitry Torokhov
<dtor_core@ameritech.net>
Thu, 3 Nov 2005 03:52:16 +0000
(22:52 -0500)
Remove main attribute group (name, phys, uniq) when unregistering
input devices.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index d543c0ce52296e17769642903cce91b6616193ee..0879915b14d5af21ec6a4ed0f3383962a595bc2c 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-805,6
+805,7
@@
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_group);
class_device_unregister(&dev->cdev);
input_wakeup_procfs_readers();
This page took
0.025403 seconds
and
5
git commands to generate.