usb: gadget: goku_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:17:45 +0000 (16:17 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:45 +0000 (11:16 +0200)
commit5637bf5b7a91804fe0230dff70024df078786090
tree6a26abf04a82ce65c10ae340634c784372388a86
parentfc84d2fbe776f5352c3a981a5250a3ad83789f72
usb: gadget: goku_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/goku_udc.c
drivers/usb/gadget/goku_udc.h