Searched refs:ch_sysfs_class (Results 1 – 1 of 1) sorted by relevance
105 static struct class * ch_sysfs_class; variable925 class_dev = device_create(ch_sysfs_class, dev, in ch_probe()950 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR, ch->minor)); in ch_probe()969 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor)); in ch_remove()998 ch_sysfs_class = class_create(THIS_MODULE, "scsi_changer"); in init_ch_module()999 if (IS_ERR(ch_sysfs_class)) { in init_ch_module()1000 rc = PTR_ERR(ch_sysfs_class); in init_ch_module()1017 class_destroy(ch_sysfs_class); in init_ch_module()1025 class_destroy(ch_sysfs_class); in exit_ch_module()