fail3:	input_proc_exit(); fail2:	class_destroy(input_class); 
fail2:	input_proc_exit(); 
static int __init input_init(void){	int err;	err = class_register(&input_dev_class);	if (err) {		printk(KERN_ERR "input: unable to register input_dev class\n");		return err;	}	input_class = class_create(THIS_MODULE, "input");	if (IS_ERR(input_class)) {		printk(KERN_ERR "input: unable to register input class\n");		err = PTR_ERR(input_class);		goto fail1;	}	err = input_proc_init();	if (err)		goto fail2;	err = register_chrdev(INPUT_MAJOR, "input", &input_fops);	if (err) {		printk(KERN_ERR "input: unable to register char major %d", INPUT_MAJOR);		goto fail3;	}	return 0; fail3:	input_proc_exit(); fail2:	class_destroy(input_class); fail1:	class_unregister(&input_dev_class);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b0fdfebb205fcbf394c3db39679a766b8fc4f07d/input.c/clean/drivers/input/input.c