Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b282fbe authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent 2ae837e4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);