Searched refs:ch_sysfs_class (Results 1 – 1 of 1) sorted by relevance
105 static struct class * ch_sysfs_class; variable953 class_dev = device_create(ch_sysfs_class, dev, in ch_probe()978 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR, ch->minor)); in ch_probe()997 device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor)); in ch_remove()1028 ch_sysfs_class = class_create(THIS_MODULE, "scsi_changer"); in init_ch_module()1029 if (IS_ERR(ch_sysfs_class)) { in init_ch_module()1030 rc = PTR_ERR(ch_sysfs_class); in init_ch_module()1047 class_destroy(ch_sysfs_class); in init_ch_module()1055 class_destroy(ch_sysfs_class); in exit_ch_module()