From: Peter Chen Date: Fri, 6 Mar 2015 02:36:02 +0000 (+0800) Subject: usb: udc: store usb_udc pointer in struct usb_gadget X-Git-Tag: omap-for-v4.1/fixes-rc1~167^2~55^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfea9c94837d27e38c8cc85a3c1c7c268973c3c2;p=pandora-kernel.git usb: udc: store usb_udc pointer in struct usb_gadget Instead of iterate to find usb_udc according to usb_gadget, this way is easier. Alan Stern suggests this way too: http://marc.info/?l=linux-usb&m=142168496528894&w=2 Acked-by: Alan Stern Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed