Searched refs:cap_class (Results 1 – 1 of 1) sorted by relevance
39 static struct class *cap_class; variable339 cap->class_device = device_create(cap_class, cap->parent, cap->dev_num, in gb_cap_connection_init()373 device_destroy(cap_class, cap->dev_num); in gb_cap_connection_exit()405 cap_class = class_create(THIS_MODULE, "gb_authenticate"); in cap_init()406 if (IS_ERR(cap_class)) in cap_init()407 return PTR_ERR(cap_class); in cap_init()417 class_destroy(cap_class); in cap_init()424 class_destroy(cap_class); in cap_exit()