Searched refs:usb_class (Results 1 – 1 of 1) sorted by relevance
57 static struct usb_class { struct60 } *usb_class; argument76 if (usb_class != NULL) { in init_usb_class()77 kref_get(&usb_class->kref); in init_usb_class()81 usb_class = kmalloc(sizeof(*usb_class), GFP_KERNEL); in init_usb_class()82 if (!usb_class) { in init_usb_class()87 kref_init(&usb_class->kref); in init_usb_class()88 usb_class->class = class_create(THIS_MODULE, "usbmisc"); in init_usb_class()89 if (IS_ERR(usb_class->class)) { in init_usb_class()90 result = PTR_ERR(usb_class->class); in init_usb_class()[all …]