mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 12:56:07 +07:00
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>
This commit is contained in:
parent
2ae837e4d8
commit
4b282fbe97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user