usb: gadget: use config_ep_by_speed() instead of ep_choose()
authorTatyana Brokhman <tlinder@codeaurora.org>
Tue, 28 Jun 2011 13:33:50 +0000 (16:33 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 18:14:37 +0000 (11:14 -0700)
commitea2a1df7b2b1de839a72217d85bfb4b7b049010c
tree89c10a2a18bba8a1d448b8b1f1281cf52b2287c6
parent48767a4e8263620c347c3fa17812c943dd0fc2fa
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>
16 files changed:
drivers/usb/gadget/config.c
drivers/usb/gadget/f_acm.c
drivers/usb/gadget/f_ecm.c
drivers/usb/gadget/f_eem.c
drivers/usb/gadget/f_hid.c
drivers/usb/gadget/f_loopback.c
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/f_ncm.c
drivers/usb/gadget/f_obex.c
drivers/usb/gadget/f_phonet.c
drivers/usb/gadget/f_rndis.c
drivers/usb/gadget/f_serial.c
drivers/usb/gadget/f_sourcesink.c
drivers/usb/gadget/f_subset.c
include/linux/usb/composite.h
include/linux/usb/gadget.h