Searched refs:ch_sysfs_class (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | ch.c | 105 static struct class * ch_sysfs_class; variable 953 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()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ch.c | 105 static struct class * ch_sysfs_class; variable 926 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()
|
Completed in 4 milliseconds