usb: gadget: udc: net2280: do not rely on 'driver' argument

commit bfd0ed576d upstream.

future patches will remove the extra 'driver'
argument to ->udc_stop(), in order to do that,
we must make sure that our UDC does not rely
on it first.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[bwh: Backported to 3.16: adjust filename, context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Felipe Balbi 2014-10-17 11:23:33 -05:00 • committed by Ben Hutchings
commit 4723be7df6