adb_dev_class = class_simple_create(THIS_MODULE, "adb"); if (IS_ERR(adb_dev_class)) { 
adb_dev_class = class_create(THIS_MODULE, "adb"); if (IS_ERR(adb_dev_class)) 
adbdev_init(void){	if (register_chrdev(ADB_MAJOR, "adb", &adb_fops)) {		printk(KERN_ERR "adb: unable to get major %d\n", ADB_MAJOR);		return;	}	devfs_mk_cdev(MKDEV(ADB_MAJOR, 0), S_IFCHR | S_IRUSR | S_IWUSR, "adb");	adb_dev_class = class_simple_create(THIS_MODULE, "adb");	if (IS_ERR(adb_dev_class)) {		return;	}	class_simple_device_add(adb_dev_class, MKDEV(ADB_MAJOR, 0), NULL, "adb");}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/56b2293595b2eb52cc2aa2baf92c6cfa8265f9d5/adb.c/clean/drivers/macintosh/adb.c