usb: gadget: m66592-udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:35:12 +0000 (16:35 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:47 +0000 (11:16 +0200)
commit96d20c32f68b058b4430a6f711124511a2d9b361
treed4d22483971b11b0e2f1cd28a656ffe96a41f728
parente0c9e4739a6f9217f35f1a59807a2f19a4cd7cdd
usb: gadget: m66592-udc: 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/m66592-udc.c