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:
Родитель
0e4d65e529
Коммит
509d986a37
|
@ -1418,7 +1418,6 @@ static int __init fusb300_probe(struct platform_device *pdev)
|
||||||
fusb300->gadget.ops = &fusb300_gadget_ops;
|
fusb300->gadget.ops = &fusb300_gadget_ops;
|
||||||
|
|
||||||
fusb300->gadget.max_speed = USB_SPEED_HIGH;
|
fusb300->gadget.max_speed = USB_SPEED_HIGH;
|
||||||
fusb300->gadget.dev.release = pdev->dev.release;
|
|
||||||
fusb300->gadget.name = udc_name;
|
fusb300->gadget.name = udc_name;
|
||||||
fusb300->reg = reg;
|
fusb300->reg = reg;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче