usb: gadget: r8a66597-udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 15:01:28 +0000 (17:01 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:51 +0000 (11:16 +0200)
commit80bf5343decf65d9e4141143d49e6ed381565cbf
tree4567801a60dd4a8b80c989c4c2ea9f79e2ee218d
parent5a8a375714d007f556c81b739aa69e3c745d8015
usb: gadget: r8a66597-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/r8a66597-udc.c