Searched refs:ctcls (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/staging/comedi/drivers/ |
| D | comedi_test.c | 65 static struct class *ctcls; variable 800 ctcls = class_create(THIS_MODULE, CLASS_NAME); in comedi_test_init() 801 if (IS_ERR(ctcls)) { in comedi_test_init() 806 ctdev = device_create(ctcls, NULL, MKDEV(0, 0), NULL, DEV_NAME); in comedi_test_init() 822 device_destroy(ctcls, MKDEV(0, 0)); in comedi_test_init() 824 class_destroy(ctcls); in comedi_test_init() 827 ctcls = NULL; in comedi_test_init() 838 if (ctcls) { in comedi_test_exit() 839 device_destroy(ctcls, MKDEV(0, 0)); in comedi_test_exit() 840 class_destroy(ctcls); in comedi_test_exit()
|