Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: hub: rename usb_kick_khubd() to usb_kick_hub_wq()

USB hub started to use a workqueue instead of kthread. Let's make it clear from
the function names.

Signed-off-by: Petr Mladek <pmladek@suse.cz>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Petr Mladek and committed by
Greg Kroah-Hartman
59d48b3f 32a69589

+4 -4
+2 -2
drivers/usb/core/hcd.c
··· 2386 2386 /* make khubd clean up old urbs and devices */ 2387 2387 usb_set_device_state (hcd->self.root_hub, 2388 2388 USB_STATE_NOTATTACHED); 2389 - usb_kick_khubd (hcd->self.root_hub); 2389 + usb_kick_hub_wq(hcd->self.root_hub); 2390 2390 } 2391 2391 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { 2392 2392 hcd = hcd->shared_hcd; ··· 2396 2396 /* make khubd clean up old urbs and devices */ 2397 2397 usb_set_device_state(hcd->self.root_hub, 2398 2398 USB_STATE_NOTATTACHED); 2399 - usb_kick_khubd(hcd->self.root_hub); 2399 + usb_kick_hub_wq(hcd->self.root_hub); 2400 2400 } 2401 2401 } 2402 2402 spin_unlock_irqrestore (&hcd_root_hub_lock, flags);
+1 -1
drivers/usb/core/hub.c
··· 598 598 kref_put(&hub->kref, hub_release); 599 599 } 600 600 601 - void usb_kick_khubd(struct usb_device *hdev) 601 + void usb_kick_hub_wq(struct usb_device *hdev) 602 602 { 603 603 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); 604 604
+1 -1
drivers/usb/core/usb.h
··· 48 48 return c->desc.bMaxPower * mul; 49 49 } 50 50 51 - extern void usb_kick_khubd(struct usb_device *dev); 51 + extern void usb_kick_hub_wq(struct usb_device *dev); 52 52 extern int usb_match_one_id_intf(struct usb_device *dev, 53 53 struct usb_host_interface *intf, 54 54 const struct usb_device_id *id);