usb: gadget: use config_ep_by_speed() instead of ep_choose()
Remove obsolete functions: 1. ep_choose() 2. usb_find_endpoint() Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
48767a4e82
commit
ea2a1df7b2
16 changed files with 126 additions and 315 deletions
|
@ -879,12 +879,6 @@ int usb_gadget_config_buf(const struct usb_config_descriptor *config,
|
|||
struct usb_descriptor_header **usb_copy_descriptors(
|
||||
struct usb_descriptor_header **);
|
||||
|
||||
/* return copy of endpoint descriptor given original descriptor set */
|
||||
struct usb_endpoint_descriptor *usb_find_endpoint(
|
||||
struct usb_descriptor_header **src,
|
||||
struct usb_descriptor_header **copy,
|
||||
struct usb_endpoint_descriptor *match);
|
||||
|
||||
/**
|
||||
* usb_free_descriptors - free descriptors returned by usb_copy_descriptors()
|
||||
* @v: vector of descriptors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue