usb: gadget: lpc32xx_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:26:46 +0000 (16:26 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:46 +0000 (11:16 +0200)
commite0c9e4739a6f9217f35f1a59807a2f19a4cd7cdd
tree5f310c4ac816704f2a9fb35475b050dd3cef1d9e
parent0b3702c62e41f3707cb8ba68bf46561597a6f0af
usb: gadget: lpc32xx_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/lpc32xx_udc.c