From: Robert Baldyga Date: Fri, 31 Jul 2015 14:00:51 +0000 (+0200) Subject: usb: gadget: epautoconf: remove ep and desc configuration from ep_matches() X-Git-Tag: omap-for-v4.3/fixes-merge-window~42^2~35^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dbe135a153837ce9367bdfacf7aabfc6fb76f4b;p=pandora-kernel.git usb: gadget: epautoconf: remove ep and desc configuration from ep_matches() As function ep_matches() is used to match endpoint with usb descriptor it's highly unintuitive that it modifies endpoint and descriptor structures fields. This patch moves code configuring ep and desc from ep_matches() to usb_ep_autoconfig_ss(), so now function ep_matches() does nothing more than its name suggests. [ balbi@ti.com : fix build warning ] Signed-off-by: Robert Baldyga Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed