mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
usb: gadget: fusb300_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
0e4d65e529
commit
509d986a37
@ -1418,7 +1418,6 @@ static int __init fusb300_probe(struct platform_device *pdev)
|
||||
fusb300->gadget.ops = &fusb300_gadget_ops;
|
||||
|
||||
fusb300->gadget.max_speed = USB_SPEED_HIGH;
|
||||
fusb300->gadget.dev.release = pdev->dev.release;
|
||||
fusb300->gadget.name = udc_name;
|
||||
fusb300->reg = reg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user