Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/block/paride/
Dpt.c249 static struct class *pt_class; variable
978 pt_class = class_create(THIS_MODULE, "pt"); in pt_init()
979 if (IS_ERR(pt_class)) { in pt_init()
980 err = PTR_ERR(pt_class); in pt_init()
986 device_create(pt_class, NULL, MKDEV(major, unit), NULL, in pt_init()
988 device_create(pt_class, NULL, MKDEV(major, unit + 128), in pt_init()
1004 device_destroy(pt_class, MKDEV(major, unit)); in pt_exit()
1005 device_destroy(pt_class, MKDEV(major, unit + 128)); in pt_exit()
1007 class_destroy(pt_class); in pt_exit()