]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc18dad5414fc7b514e4f8c26b38d6b778162889
tree64a44dbbff33742e6f12bd1418447c7d566a9487
parentda44295f27c09806799b5dc8957a6095027145ce
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