Lines Matching refs:raw_class
35 static struct class *raw_class; variable
171 device_destroy(raw_class, MKDEV(RAW_MAJOR, number)); in bind_set()
179 device_destroy(raw_class, raw); in bind_set()
180 device_create(raw_class, NULL, raw, NULL, in bind_set()
341 raw_class = class_create(THIS_MODULE, "raw"); in raw_init()
342 if (IS_ERR(raw_class)) { in raw_init()
345 ret = PTR_ERR(raw_class); in raw_init()
348 raw_class->devnode = raw_devnode; in raw_init()
349 device_create(raw_class, NULL, MKDEV(RAW_MAJOR, 0), NULL, "rawctl"); in raw_init()
362 device_destroy(raw_class, MKDEV(RAW_MAJOR, 0)); in raw_exit()
363 class_destroy(raw_class); in raw_exit()