Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
A Ddevice.c15 static struct class *user_class; variable
41 device = device_create(user_class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()
115 user_class = class_create(THIS_MODULE, class_name_user()); in dev_init()
116 if (IS_ERR(user_class)) { in dev_init()
117 ret = PTR_ERR(user_class); in dev_init()
122 user_class = NULL; in dev_init()
126 user_class->devnode = hfi1_user_devnode; in dev_init()
137 class_destroy(user_class); in dev_cleanup()
138 user_class = NULL; in dev_cleanup()

Completed in 3 milliseconds