Searched refs:ch_sysfs_class (Results 1 – 1 of 1) sorted by relevance
105 static struct class * ch_sysfs_class; variable926 class_dev = device_create(ch_sysfs_class, dev, in ch_probe()951 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR, ch->minor)); in ch_probe()970 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor)); in ch_remove()999 ch_sysfs_class = class_create("scsi_changer"); in init_ch_module()1000 if (IS_ERR(ch_sysfs_class)) { in init_ch_module()1001 rc = PTR_ERR(ch_sysfs_class); in init_ch_module()1018 class_destroy(ch_sysfs_class); in init_ch_module()1026 class_destroy(ch_sysfs_class); in exit_ch_module()