usb: gadget: s3c2410_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 15:06:42 +0000 (17:06 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:52 +0000 (11:16 +0200)
commitb1e1eaba2916427d25fbd411cd863052836560ff
tree362e8fa1aa646e99acf5ce40fefac2fcc2bdefc8
parent40ed30cff5957d15dcd2638c6f48fae839a3100a
usb: gadget: s3c2410_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/s3c2410_udc.c