usb: gadget: atmel_usba_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 13:21:36 +0000 (15:21 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:42 +0000 (11:16 +0200)
commit621c723eb71d2f02baafe20a3eaefc3a4dec7788
tree8d1edf724190b17df08eb63696d111294a089466
parent2533beea9025254215be65cd1fca8da65019fd04
usb: gadget: atmel_usba_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/atmel_usba_udc.c