usb: gadget: pxa27x_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 15:29:39 +0000 (17:29 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:54 +0000 (11:16 +0200)
commit45f596a6d776532f03135d48f10a1164006f9466
treec2122eb938e4b16337fbd28eec86fad9df38db78
parentb73f5a2a0a2b2ff10d941e35c2ff08fcc04a9862
usb: gadget: pxa27x_udc: let udc-core manage gadget->dev

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

Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/pxa27x_udc.c