usb: gadget: s3c-hsotg: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 15:03:10 +0000 (17:03 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:51 +0000 (11:16 +0200)
commitb8d833a327aaed6637398446ec8a3e555b3ddd11
tree8f47b5103f4bd33e32ded102be04d07ae5492706
parent80bf5343decf65d9e4141143d49e6ed381565cbf
usb: gadget: s3c-hsotg: let udc-core manage gadget->dev

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

Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c