summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 13:15:27 (GMT)
committerFelipe Balbi <balbi@ti.com>2013-03-18 09:17:54 (GMT)
commit59139706a0bc6950759c588ca3a28a732fa18d5f (patch)
tree0df330a2815e335e8cc48440225f1cefe76dd9f0 /drivers/usb
parentef98f7465fe28a39800b07e14b1e4a43906bd77b (diff)
downloadlinux-59139706a0bc6950759c588ca3a28a732fa18d5f.tar.xz
usb: gadget: r8a66597-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')
-rw-r--r--drivers/usb/gadget/r8a66597-udc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c
index 2de775d..0b742d1 100644
--- a/drivers/usb/gadget/r8a66597-udc.c
+++ b/drivers/usb/gadget/r8a66597-udc.c
@@ -1915,7 +1915,6 @@ static int __init r8a66597_probe(struct platform_device *pdev)
r8a66597->gadget.ops = &r8a66597_gadget_ops;
r8a66597->gadget.max_speed = USB_SPEED_HIGH;
- r8a66597->gadget.dev.release = pdev->dev.release;
r8a66597->gadget.name = udc_name;
init_timer(&r8a66597->timer);