Searched refs:user_class (Results 1 – 1 of 1) sorted by relevance
57 static struct class *user_class; variable83 device = device_create(user_class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()157 user_class = class_create(THIS_MODULE, class_name_user()); in dev_init()158 if (IS_ERR(user_class)) { in dev_init()159 ret = PTR_ERR(user_class); in dev_init()164 user_class = NULL; in dev_init()168 user_class->devnode = hfi1_user_devnode; in dev_init()179 class_destroy(user_class); in dev_cleanup()180 user_class = NULL; in dev_cleanup()