diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-11-02 22:52:16 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-11-02 22:52:16 -0500 |
commit | 47610602c2ebe16ec99063b06bc019f18c8923a9 (patch) | |
tree | 3704db210ad9cff12ee49afb4eeb3058069df130 /drivers/input | |
parent | 5f94548982ad8cb9867297e9e18e50ec7b8accea (diff) | |
download | kernel_samsung_crespo-47610602c2ebe16ec99063b06bc019f18c8923a9.zip kernel_samsung_crespo-47610602c2ebe16ec99063b06bc019f18c8923a9.tar.gz kernel_samsung_crespo-47610602c2ebe16ec99063b06bc019f18c8923a9.tar.bz2 |
Input: fix input device deregistration
Remove main attribute group (name, phys, uniq) when unregistering
input devices.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index d543c0c..0879915 100644 --- 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(); |