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