usb: gadget: at91_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 13:15:30 +0000 (15:15 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:42 +0000 (11:16 +0200)
commit2533beea9025254215be65cd1fca8da65019fd04
tree81d4596b395d2721593e4ea9daa3e4501552d9b2
parent12ad0fcaf2fbf3f48dd2b4dbaff372830aada8a2
usb: gadget: at91_udc: let udc-core manage gadget->dev

By simply setting a flag, we can remove some
boilerplate code.

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