Searched refs:vmlogrdr_class (Results 1 – 1 of 1) sorted by relevance
705 static struct class *vmlogrdr_class; variable726 vmlogrdr_class = class_create(THIS_MODULE, "vmlogrdr"); in vmlogrdr_register_driver()727 if (IS_ERR(vmlogrdr_class)) { in vmlogrdr_register_driver()728 ret = PTR_ERR(vmlogrdr_class); in vmlogrdr_register_driver()729 vmlogrdr_class = NULL; in vmlogrdr_register_driver()745 class_destroy(vmlogrdr_class); in vmlogrdr_unregister_driver()746 vmlogrdr_class = NULL; in vmlogrdr_unregister_driver()781 priv->class_device = device_create(vmlogrdr_class, dev, in vmlogrdr_register_device()798 device_destroy(vmlogrdr_class, MKDEV(vmlogrdr_major, priv->minor_num)); in vmlogrdr_unregister_device()