summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/fusb300_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 14:15:26 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:17:48 +0100
commit509d986a37edd7d89cb706142b540c74c6fbab0e (patch)
treefb66e00089ef29cbf4450ade0ecb6014bb7d3d79 /drivers/usb/gadget/fusb300_udc.c
parentusb: gadget: fsl_udc_core: don't assign gadget.dev.release directly (diff)
downloadlinux-509d986a37edd7d89cb706142b540c74c6fbab0e.tar.xz
linux-509d986a37edd7d89cb706142b540c74c6fbab0e.zip
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c
index d69e840b101b..d05355389dd6 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;