Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/
Dlp.c148 static struct class *lp_class; variable
930 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register()
1002 device_destroy(lp_class, MKDEV(LP_MAJOR, n)); in lp_detach()
1047 lp_class = class_create(THIS_MODULE, "printer"); in lp_init()
1048 if (IS_ERR(lp_class)) { in lp_init()
1049 err = PTR_ERR(lp_class); in lp_init()
1070 class_destroy(lp_class); in lp_init()
1113 class_destroy(lp_class); in lp_cleanup_module()