mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
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>
This commit is contained in:
parent
ef98f7465f
commit
59139706a0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user