aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 10:41:00 -0500
committerFelipe Balbi <balbi@ti.com>2013-03-18 05:16:55 -0400
commit7bce401cc6db5508ef2517e45bd8caf7ce0a15ee (patch)
tree1372eb8462d2f1c69258bed063ee69ab87706a02 /drivers/usb/renesas_usbhs
parentdc9e2873b740331b186b8f315fd18bbc97108d2e (diff)
usb: gadget: drop now unnecessary flag
We don't need the ->register_my_device flag anymore because all UDC drivers have been properly converted. Let's remove every history of it. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
-rw-r--r--drivers/usb/renesas_usbhs/mod_gadget.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 5d5fab0ad0d1..6a3afa9b764c 100644
--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -981,7 +981,6 @@ int usbhs_mod_gadget_probe(struct usbhs_priv *priv)
981 gpriv->gadget.name = "renesas_usbhs_udc"; 981 gpriv->gadget.name = "renesas_usbhs_udc";
982 gpriv->gadget.ops = &usbhsg_gadget_ops; 982 gpriv->gadget.ops = &usbhsg_gadget_ops;
983 gpriv->gadget.max_speed = USB_SPEED_HIGH; 983 gpriv->gadget.max_speed = USB_SPEED_HIGH;
984 gpriv->gadget.register_my_device = true;
985 984
986 INIT_LIST_HEAD(&gpriv->gadget.ep_list); 985 INIT_LIST_HEAD(&gpriv->gadget.ep_list);
987 986