Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/block/paride/
Dpt.c250 static struct class *pt_class; variable
986 pt_class = class_create(THIS_MODULE, "pt"); in pt_init()
987 if (IS_ERR(pt_class)) { in pt_init()
988 err = PTR_ERR(pt_class); in pt_init()
994 device_create(pt_class, NULL, MKDEV(major, unit), NULL, in pt_init()
996 device_create(pt_class, NULL, MKDEV(major, unit + 128), in pt_init()
1012 device_destroy(pt_class, MKDEV(major, unit)); in pt_exit()
1013 device_destroy(pt_class, MKDEV(major, unit + 128)); in pt_exit()
1015 class_destroy(pt_class); in pt_exit()