usb: gadget: imx_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:22:57 +0000 (16:22 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:46 +0000 (11:16 +0200)
commit0b3702c62e41f3707cb8ba68bf46561597a6f0af
tree284fa5319d63734d8e6fefeebecc23b97baeed6e
parent5637bf5b7a91804fe0230dff70024df078786090
usb: gadget: imx_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/imx_udc.c