Searched refs:usb_class (Results 1 – 1 of 1) sorted by relevance
60 static struct usb_class { struct63 } *usb_class; argument79 if (usb_class != NULL) { in init_usb_class()80 kref_get(&usb_class->kref); in init_usb_class()84 usb_class = kmalloc(sizeof(*usb_class), GFP_KERNEL); in init_usb_class()85 if (!usb_class) { in init_usb_class()90 kref_init(&usb_class->kref); in init_usb_class()91 usb_class->class = class_create(THIS_MODULE, "usbmisc"); in init_usb_class()92 if (IS_ERR(usb_class->class)) { in init_usb_class()93 result = PTR_ERR(usb_class->class); in init_usb_class()[all …]