]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
usb: gadget: fusb300_udc: don't assign gadget.dev.release directly
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 13:15:26 +0000 (15:15 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:48 +0000 (11:17 +0200)
udc-core provides a better way to handle release
methods, let's use it.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fusb300_udc.c

index d69e840b101ba32367255395670ce190394b7d66..d05355389dd6b5b91e10d9eeaa289a92de6d9c78 100644 (file)
@@ -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;