Home
last modified time | relevance | path

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

/linux/drivers/char/
A Dlp.c148 static struct class *lp_class; variable
935 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register()
1007 device_destroy(lp_class, MKDEV(LP_MAJOR, n)); in lp_detach()
1052 lp_class = class_create(THIS_MODULE, "printer"); in lp_init()
1053 if (IS_ERR(lp_class)) { in lp_init()
1054 err = PTR_ERR(lp_class); in lp_init()
1075 class_destroy(lp_class); in lp_init()
1118 class_destroy(lp_class); in lp_cleanup_module()

Completed in 4 milliseconds