diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 13:15:27 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 09:17:54 (GMT) |
commit | 59139706a0bc6950759c588ca3a28a732fa18d5f (patch) | |
tree | 0df330a2815e335e8cc48440225f1cefe76dd9f0 /drivers/usb | |
parent | ef98f7465fe28a39800b07e14b1e4a43906bd77b (diff) | |
download | linux-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.c | 1 |
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); |