commit | b0aea0037c8896b8e69cad3f6e828782789c1edf | [log] [tgz] |
---|---|---|
author | Robert Baldyga <r.baldyga@samsung.com> | Thu Aug 06 14:11:12 2015 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Thu Aug 06 09:33:14 2015 -0500 |
tree | 032c9179b1ad669368afa5311c3abdc00f0affe8 | |
parent | 4278c687f697b651ab0c771114564da5ed006f22 [diff] |
usb: gadget: move find_ep() from epautoconf to udc-core Move find_ep() to udc-core and rename it to gadget_find_ep_by_name(). It can be used in UDC drivers, especially in 'match_ep' callback after moving chip-specific endpoint matching logic from epautoconf to UDC drivers. Replace all calls of find_ep() function with gadget_find_ep_by_name(). Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>