Home
last modified time | relevance | path

Searched refs:misc_class (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/char/
Dmisc.c149 static struct class *misc_class; variable
208 device_create_with_groups(misc_class, misc->parent, dev, in misc_register()
250 device_destroy(misc_class, MKDEV(MISC_MAJOR, misc->minor)); in misc_deregister()
274 misc_class = class_create(THIS_MODULE, "misc"); in misc_init()
275 err = PTR_ERR(misc_class); in misc_init()
276 if (IS_ERR(misc_class)) in misc_init()
282 misc_class->devnode = misc_devnode; in misc_init()
287 class_destroy(misc_class); in misc_init()