Lines Matching defs:raw_class
36 static struct class *raw_class;
179 device_destroy(raw_class, raw);
182 device_destroy(raw_class, raw);
183 device_create(raw_class, NULL, raw, NULL, "raw%d", number);
333 raw_class = class_create(THIS_MODULE, "raw");
334 if (IS_ERR(raw_class)) {
337 ret = PTR_ERR(raw_class);
340 raw_class->devnode = raw_devnode;
341 device_create(raw_class, NULL, MKDEV(RAW_MAJOR, 0), NULL, "rawctl");
354 device_destroy(raw_class, MKDEV(RAW_MAJOR, 0));
355 class_destroy(raw_class);