usb: gadget: mv_u3d_core: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:37:24 +0000 (16:37 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:47 +0000 (11:16 +0200)
commit7a071890b467e3b820b6afb13f2a877a249ae8f9
tree6bbff84a07ba4d7734665c750b7e03eb76ad777c
parent96d20c32f68b058b4430a6f711124511a2d9b361
usb: gadget: mv_u3d_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_u3d_core.c