usb: gadget: mv_udc_core: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:43:47 +0000 (16:43 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:48 +0000 (11:16 +0200)
commit5dc7b773657d9e217eaacd51f74e9cea81260088
treefc7ae5fb7925c30e542262022b46b8a4f1835d5a
parent2cd807e7a8ee18d13fd06e84ef9f485a5c28a521
usb: gadget: mv_udc_core: 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/mv_udc_core.c