summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/m66592-udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 15:15:26 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:49 +0200
commit4b282fbe97412cc06fd9f173b4318e69a90b3442 (patch)
tree9baa0ad5ae1fe38a3891e058f8318202b870edea /drivers/usb/gadget/m66592-udc.c
parent2ae837e4d83c5d1046f83b1bf3e3737126a6776a (diff)
downloadop-kernel-dev-4b282fbe97412cc06fd9f173b4318e69a90b3442.zip
op-kernel-dev-4b282fbe97412cc06fd9f173b4318e69a90b3442.tar.gz
usb: gadget: m66592-udc: don't assign gadget.dev.release directly
udc-core provides a better way to handle release methods, let's use it. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/m66592-udc.c')
-rw-r--r--drivers/usb/gadget/m66592-udc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c
index 21a20a6f..866ef09 100644
--- a/drivers/usb/gadget/m66592-udc.c
+++ b/drivers/usb/gadget/m66592-udc.c
@@ -1606,7 +1606,6 @@ static int __init m66592_probe(struct platform_device *pdev)
m66592->gadget.ops = &m66592_gadget_ops;
m66592->gadget.max_speed = USB_SPEED_HIGH;
- m66592->gadget.dev.release = pdev->dev.release;
m66592->gadget.name = udc_name;
init_timer(&m66592->timer);
OpenPOWER on IntegriCloud