summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/r8a66597-udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 15:15:27 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:54 +0200
commit59139706a0bc6950759c588ca3a28a732fa18d5f (patch)
tree0df330a2815e335e8cc48440225f1cefe76dd9f0 /drivers/usb/gadget/r8a66597-udc.c
parentef98f7465fe28a39800b07e14b1e4a43906bd77b (diff)
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/gadget/r8a66597-udc.c')
-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 2de775dbd92..0b742d17184 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);