tipar_class = class_simple_create(THIS_MODULE, "ticables"); 
tipar_class = class_create(THIS_MODULE, "ticables"); 
tipar_init_module(void){	int err = 0;	pr_info("tipar: parallel link cable driver, version %s\n",		DRIVER_VERSION);	if (register_chrdev(TIPAR_MAJOR, "tipar", &tipar_fops)) {		printk(KERN_ERR "tipar: unable to get major %d\n", TIPAR_MAJOR);		err = -EIO;		goto out;	}	/* Use devfs with tree: /dev/ticables/par/[0..2] */	devfs_mk_dir("ticables/par");	tipar_class = class_simple_create(THIS_MODULE, "ticables");	if (IS_ERR(tipar_class)) {		err = PTR_ERR(tipar_class);		goto out_chrdev;	}	if (parport_register_driver(&tipar_driver)) {		printk(KERN_ERR "tipar: unable to register with parport\n");		err = -EIO;		goto out;	}	err = 0;	goto out;out_chrdev:	unregister_chrdev(TIPAR_MAJOR, "tipar");out:	return err;	}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ca8eca6884861c1ce294b05aacfdf9045bba9aff/tipar.c/buggy/drivers/char/tipar.c