usb: gadget: amd5536udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 13:10:10 +0000 (15:10 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:41 +0000 (11:16 +0200)
commit12ad0fcaf2fbf3f48dd2b4dbaff372830aada8a2
treea725ac9b4d4b31ce19f05e442c600f4fc3129920
parent6dfc84fcb6eb32621c557e64f7520be27c0d636a
usb: gadget: amd5536udc: let udc-core manage gadget->dev

By simply setting a flag, we drop some boilerplate
code.

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