Searched refs:ch_sysfs_class (Results 1 – 1 of 1) sorted by relevance
106 static struct class * ch_sysfs_class; variable939 class_dev = device_create(ch_sysfs_class, dev, in ch_probe()963 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR, ch->minor)); in ch_probe()979 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor)); in ch_remove()1009 ch_sysfs_class = class_create(THIS_MODULE, "scsi_changer"); in init_ch_module()1010 if (IS_ERR(ch_sysfs_class)) { in init_ch_module()1011 rc = PTR_ERR(ch_sysfs_class); in init_ch_module()1028 class_destroy(ch_sysfs_class); in init_ch_module()1036 class_destroy(ch_sysfs_class); in exit_ch_module()