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