usb: gadget: pch_udc: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:56:35 +0000 (16:56 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:50 +0000 (11:16 +0200)
commit5a8a375714d007f556c81b739aa69e3c745d8015
tree69e629508a258e8393ff6cbb2c672bed439d033b
parent654dfe4d2ab0d00573dcb0d7d7c957165dc4d9f2
usb: gadget: pch_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/pch_udc.c