usb: renesas_usbhs: gadget: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 15:08:01 +0000 (17:08 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:53 +0000 (11:16 +0200)
commit0972ef71b4841a59fab6f998d6e6c2c684443583
treee73fbbda5009e67e2f0337a67c533762d645aeb0
parentb1e1eaba2916427d25fbd411cd863052836560ff
usb: renesas_usbhs: gadget: 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/renesas_usbhs/mod_gadget.c