ctcls              65 drivers/staging/comedi/drivers/comedi_test.c static struct class *ctcls;
ctcls             800 drivers/staging/comedi/drivers/comedi_test.c 		ctcls = class_create(THIS_MODULE, CLASS_NAME);
ctcls             801 drivers/staging/comedi/drivers/comedi_test.c 		if (IS_ERR(ctcls)) {
ctcls             806 drivers/staging/comedi/drivers/comedi_test.c 		ctdev = device_create(ctcls, NULL, MKDEV(0, 0), NULL, DEV_NAME);
ctcls             822 drivers/staging/comedi/drivers/comedi_test.c 	device_destroy(ctcls, MKDEV(0, 0));
ctcls             824 drivers/staging/comedi/drivers/comedi_test.c 	class_destroy(ctcls);
ctcls             827 drivers/staging/comedi/drivers/comedi_test.c 	ctcls = NULL;
ctcls             838 drivers/staging/comedi/drivers/comedi_test.c 	if (ctcls) {
ctcls             839 drivers/staging/comedi/drivers/comedi_test.c 		device_destroy(ctcls, MKDEV(0, 0));
ctcls             840 drivers/staging/comedi/drivers/comedi_test.c 		class_destroy(ctcls);