diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 15:15:26 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:48 +0200 |
commit | 509d986a37edd7d89cb706142b540c74c6fbab0e (patch) | |
tree | fb66e00089ef29cbf4450ade0ecb6014bb7d3d79 /drivers/usb/gadget/fusb300_udc.c | |
parent | 0e4d65e5292ed76578ff1571a1132e2f5f188261 (diff) | |
download | op-kernel-dev-509d986a37edd7d89cb706142b540c74c6fbab0e.zip op-kernel-dev-509d986a37edd7d89cb706142b540c74c6fbab0e.tar.gz |
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>
Diffstat (limited to 'drivers/usb/gadget/fusb300_udc.c')
-rw-r--r-- | drivers/usb/gadget/fusb300_udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c index d69e840..d053553 100644 --- a/drivers/usb/gadget/fusb300_udc.c +++ b/drivers/usb/gadget/fusb300_udc.c @@ -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; |