From: Robert Baldyga Date: Thu, 6 Aug 2015 12:11:11 +0000 (+0200) Subject: usb: gadget: move ep_matches() from epautoconf to udc-core X-Git-Tag: omap-for-v4.3/fixes-merge-window~42^2~35^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4278c687f697b651ab0c771114564da5ed006f22;p=pandora-kernel.git usb: gadget: move ep_matches() from epautoconf to udc-core Move ep_matches() function to udc-core and rename it to usb_gadget_ep_match_desc(). This function can be used by UDC drivers in 'match_ep' callback to avoid writing lots of repetitive code. Replace all calls of ep_matches() with usb_gadget_ep_match_desc(). Signed-off-by: Robert Baldyga Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed