Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/
Dlp.c146 static struct class *lp_class; variable
921 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register()
1020 lp_class = class_create(THIS_MODULE, "printer"); in lp_init()
1021 if (IS_ERR(lp_class)) { in lp_init()
1022 err = PTR_ERR(lp_class); in lp_init()
1043 class_destroy(lp_class); in lp_init()
1092 device_destroy(lp_class, MKDEV(LP_MAJOR, offset)); in lp_cleanup_module()
1094 class_destroy(lp_class); in lp_cleanup_module()