Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/dgap/
Ddgap.c81 static struct class *dgap_class; variable
7026 dgap_class = class_create(THIS_MODULE, "dgap_mgmt"); in dgap_start()
7027 if (IS_ERR(dgap_class)) { in dgap_start()
7028 rc = PTR_ERR(dgap_class); in dgap_start()
7032 device = device_create(dgap_class, NULL, in dgap_start()
7053 class_destroy(dgap_class); in dgap_start()
7069 device_destroy(dgap_class, MKDEV(DIGI_DGAP_MAJOR, 0)); in dgap_stop()
7070 class_destroy(dgap_class); in dgap_stop()
7165 device_destroy(dgap_class, MKDEV(DIGI_DGAP_MAJOR, 0)); in dgap_cleanup_module()
7166 class_destroy(dgap_class); in dgap_cleanup_module()