]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: remove unnecessary 'dwc' parameter
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 27 Mar 2018 07:53:29 +0000 (10:53 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:00:51 +0000 (10:00 +0300)
commit8f608e8ab62868d0dee7e2dd928239a55c133b43
treeb37c67433b2ef435590ee0f83fdbfeb4facac0e0
parent320338651d331847e0520717b8a2d6ef5150d2fe
usb: dwc3: gadget: remove unnecessary 'dwc' parameter

Endpoint handlers need to know about endpoints, not dwc. If they
really need access to dwc (e.g. for printing error messages) we have a
reference to it tucked inside the endpoint.

This patch has no functional changes, it's simply moving things around.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c