usb: gadget: net2280: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:52:14 +0000 (16:52 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:49 +0000 (11:16 +0200)
commit654dfe4d2ab0d00573dcb0d7d7c957165dc4d9f2
treeaa30eedf211df4c58a2381d3fa6d37b57853ebbc
parentc9f9c849ae873d592823d31c8e1dcade5c46fe14
usb: gadget: net2280: let udc-core manage gadget->dev

By simply setting a flag, we can drop some
boilerplate code.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/net2280.c