Home
last modified time | relevance | path

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

/openbmc/linux/drivers/s390/char/
H A Dvmlogrdr.c682 static struct class *vmlogrdr_class; variable
702 vmlogrdr_class = class_create("vmlogrdr"); in vmlogrdr_register_driver()
703 if (IS_ERR(vmlogrdr_class)) { in vmlogrdr_register_driver()
704 ret = PTR_ERR(vmlogrdr_class); in vmlogrdr_register_driver()
705 vmlogrdr_class = NULL; in vmlogrdr_register_driver()
721 class_destroy(vmlogrdr_class); in vmlogrdr_unregister_driver()
722 vmlogrdr_class = NULL; in vmlogrdr_unregister_driver()
757 priv->class_device = device_create(vmlogrdr_class, dev, in vmlogrdr_register_device()
774 device_destroy(vmlogrdr_class, MKDEV(vmlogrdr_major, priv->minor_num)); in vmlogrdr_unregister_device()