#ifdef CONFIG_HOTPLUG input_call_hotplug("remove", dev); #endif  
void input_unregister_device(struct input_dev *dev){	struct list_head * node, * next;	if (!dev) return;	del_timer_sync(&dev->timer);	list_for_each_safe(node, next, &dev->h_list) {		struct input_handle * handle = to_handle(node);		list_del_init(&handle->d_node);		list_del_init(&handle->h_node);		handle->handler->disconnect(handle);	}#ifdef CONFIG_HOTPLUG	input_call_hotplug("remove", dev);#endif	list_del_init(&dev->node);	if (dev->dynalloc) {		sysfs_remove_group(&dev->cdev.kobj, &input_dev_caps_attr_group);		sysfs_remove_group(&dev->cdev.kobj, &input_dev_id_attr_group);		class_device_unregister(&dev->cdev);	}	input_wakeup_procfs_readers();}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a7fadbe10ccf430e7a8add8b45c561d864087343/input.c/buggy/drivers/input/input.c