usb: gadget: s3c-hsudc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 15:04:56 +0000 (17:04 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:52 +0000 (11:16 +0200)
commit40ed30cff5957d15dcd2638c6f48fae839a3100a
tree8d6dba4961bd52a124af7df28868de61a1cb361c
parentb8d833a327aaed6637398446ec8a3e555b3ddd11
usb: gadget: s3c-hsudc: 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/s3c-hsudc.c