class_device_destroy(input_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor)); 
class_device_destroy(&input_dev_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor)); 
static void joydev_disconnect(struct input_handle *handle){	struct joydev *joydev = handle->private;	struct joydev_list *list;	class_device_destroy(input_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor));	joydev->exist = 0;	if (joydev->open) {		input_close_device(handle);		wake_up_interruptible(&joydev->wait);		list_for_each_entry(list, &joydev->list, node)			kill_fasync(&list->fasync, SIGIO, POLL_HUP);	} else		joydev_free(joydev);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/967ca692161d8c4e894932599592af8d62c0a895/joydev.c/buggy/drivers/input/joydev.c