Home
last modified time | relevance | path

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

/drivers/staging/crystalhd/
Dcrystalhd_lnx.c25 static struct class *crystalhd_class; variable
374 crystalhd_class = class_create(THIS_MODULE, "crystalhd"); in chd_dec_init_chdev()
375 if (IS_ERR(crystalhd_class)) { in chd_dec_init_chdev()
376 rc = PTR_ERR(crystalhd_class); in chd_dec_init_chdev()
381 dev = device_create(crystalhd_class, NULL, MKDEV(adp->chd_dec_major, 0), in chd_dec_init_chdev()
412 device_destroy(crystalhd_class, MKDEV(adp->chd_dec_major, 0)); in chd_dec_init_chdev()
414 class_destroy(crystalhd_class); in chd_dec_init_chdev()
429 device_destroy(crystalhd_class, MKDEV(adp->chd_dec_major, 0)); in chd_dec_release_chdev()
433 class_destroy(crystalhd_class); in chd_dec_release_chdev()