dev->dev, "mouse%d", minor); 
dev->cdev.dev, "mouse%d", minor); 
static struct input_handle *mousedev_connect(struct input_handler *handler, struct input_dev *dev, struct input_device_id *id){	struct mousedev *mousedev;	int minor = 0;	for (minor = 0; minor < MOUSEDEV_MINORS && mousedev_table[minor]; minor++);	if (minor == MOUSEDEV_MINORS) {		printk(KERN_ERR "mousedev: no more free mousedev devices\n");		return NULL;	}	if (!(mousedev = kmalloc(sizeof(struct mousedev), GFP_KERNEL)))		return NULL;	memset(mousedev, 0, sizeof(struct mousedev));	INIT_LIST_HEAD(&mousedev->list);	init_waitqueue_head(&mousedev->wait);	mousedev->minor = minor;	mousedev->exist = 1;	mousedev->handle.dev = dev;	mousedev->handle.name = mousedev->name;	mousedev->handle.handler = handler;	mousedev->handle.private = mousedev;	sprintf(mousedev->name, "mouse%d", minor);	if (mousedev_mix.open)		input_open_device(&mousedev->handle);	mousedev_table[minor] = mousedev;	class_device_create(input_class, NULL,			MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + minor),			dev->dev, "mouse%d", minor);	return &mousedev->handle;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/967ca692161d8c4e894932599592af8d62c0a895/mousedev.c/clean/drivers/input/mousedev.c