USB: gadget: Rename usb_gadget_probe_driver()
authorAlan Stern <stern@rowland.harvard.edu>
Sun, 24 Apr 2022 00:42:03 +0000 (20:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 12:00:13 +0000 (14:00 +0200)
commitaf1969a2d734d6272c0640b50c3ed31e59e203a9
tree64a44dbbff33742e6f12bd1418447c7d566a9487
parent08908fa1547d0550a058d0ce2d613e570f51e5f9
USB: gadget: Rename usb_gadget_probe_driver()

In preparation for adding a "gadget" bus, this patch renames
usb_gadget_probe_driver() to usb_gadget_register_driver().  The new
name will be more accurate, since gadget drivers will be registered on
the gadget bus and the probing will be done by the driver core, not
the UDC core.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/YmSc29YZvxgT5fEJ@rowland.harvard.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/composite.c
drivers/usb/gadget/configfs.c
drivers/usb/gadget/legacy/dbgp.c
drivers/usb/gadget/legacy/inode.c
drivers/usb/gadget/legacy/raw_gadget.c
drivers/usb/gadget/udc/core.c
include/linux/usb/gadget.h