diff options
Diffstat (limited to 'drivers')
-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 d543c0ce5229..0879915b14d5 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -805,6 +805,7 @@ void input_unregister_device(struct input_dev *dev) | |||
805 | 805 | ||
806 | sysfs_remove_group(&dev->cdev.kobj, &input_dev_caps_attr_group); | 806 | sysfs_remove_group(&dev->cdev.kobj, &input_dev_caps_attr_group); |
807 | sysfs_remove_group(&dev->cdev.kobj, &input_dev_id_attr_group); | 807 | sysfs_remove_group(&dev->cdev.kobj, &input_dev_id_attr_group); |
808 | sysfs_remove_group(&dev->cdev.kobj, &input_dev_group); | ||
808 | class_device_unregister(&dev->cdev); | 809 | class_device_unregister(&dev->cdev); |
809 | 810 | ||
810 | input_wakeup_procfs_readers(); | 811 | input_wakeup_procfs_readers(); |