usb: musb: gadget: let udc-core manage gadget-dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 13:03:59 +0000 (15:03 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:40 +0000 (11:16 +0200)
commit5ed01c6400270dccb8c3574061ff3d163f0fe3fe
tree4e851deb5126b01b81ca03c919a507ca90f07b41
parent1e1930bd3d9c6174eba1e3ca4135fd25ea3ad59c
usb: musb: gadget: let udc-core manage gadget-dev

By simply setting a flag, we can delete a little
boilerplate code.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c