Searched refs:user_class (Results 1 – 1 of 1) sorted by relevance
14 static struct class *user_class; variable40 device = device_create(user_class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()114 user_class = class_create(THIS_MODULE, class_name_user()); in dev_init()115 if (IS_ERR(user_class)) { in dev_init()116 ret = PTR_ERR(user_class); in dev_init()121 user_class = NULL; in dev_init()125 user_class->devnode = hfi1_user_devnode; in dev_init()136 class_destroy(user_class); in dev_cleanup()137 user_class = NULL; in dev_cleanup()