From: Robert Baldyga Date: Thu, 6 Aug 2015 12:11:12 +0000 (+0200) Subject: usb: gadget: move find_ep() from epautoconf to udc-core X-Git-Tag: omap-for-v4.3/fixes-merge-window~42^2~35^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0aea0037c8896b8e69cad3f6e828782789c1edf;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed