usb: gadget: net2272: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:48:12 +0000 (16:48 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:49 +0000 (11:16 +0200)
commitc9f9c849ae873d592823d31c8e1dcade5c46fe14
treeaed69216129fd8b899561fb9de1a74cc124660d8
parent5dc7b773657d9e217eaacd51f74e9cea81260088
usb: gadget: net2272: 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/net2272.c