The patch titled Input: fix resetting name, phys and uniq when unregistering device has been added to the -mm tree. Its filename is input-fix-resetting-name-phys-and-uniq-when-unregistering-device.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Input: fix resetting name, phys and uniq when unregistering device From: "Dmitry Torokhov" <dmitry.torokhov@xxxxxxxxx> It should be done before calling class_device_unregister() because it will destroy the device and free memory if there are no other references to the device. Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/input/input.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/input/input.c~input-fix-resetting-name-phys-and-uniq-when-unregistering-device drivers/input/input.c --- 25/drivers/input/input.c~input-fix-resetting-name-phys-and-uniq-when-unregistering-device Tue Jun 27 16:01:25 2006 +++ 25-akpm/drivers/input/input.c Tue Jun 27 16:01:25 2006 @@ -998,12 +998,13 @@ void input_unregister_device(struct inpu 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); _ Patches currently in -mm which might be from dmitry.torokhov@xxxxxxxxx are input-fix-resetting-name-phys-and-uniq-when-unregistering-device.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html