Lines Matching refs:raw_class
32 static struct class *raw_class;
139 device_destroy(raw_class, MKDEV(RAW_MAJOR, rq->raw_minor));
140 device_create(raw_class, NULL, MKDEV(RAW_MAJOR, rq->raw_minor), NULL,
213 device_destroy(raw_class,
293 raw_class = class_create(THIS_MODULE, "raw");
294 if (IS_ERR(raw_class)) {
297 ret = PTR_ERR(raw_class);
300 raw_class->devnode = raw_devnode;
301 device_create(raw_class, NULL, MKDEV(RAW_MAJOR, 0), NULL, "rawctl");
313 device_destroy(raw_class, MKDEV(RAW_MAJOR, 0));
314 class_destroy(raw_class);