summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 11:00:15 +0200
committerFelipe Balbi <balbi@ti.com>2013-01-24 21:11:32 +0200
commit2d7ebbb0946e9e13285eee348df1dbc48f0580e0 (patch)
treeaaec2755446fb5424fd717cd1728e8005b8b633b /include/linux/usb
parent4991e102c11524aff42ce3a0e7caeb6e5577808c (diff)
downloadtalos-obmc-linux-2d7ebbb0946e9e13285eee348df1dbc48f0580e0.tar.gz
talos-obmc-linux-2d7ebbb0946e9e13285eee348df1dbc48f0580e0.zip
usb: gadget: completely remove ->start/->stop
Those have been deprecated for a long time and previous patches just converted all remaining users of those. Since there are no in-tree users and we don't want any new users for them, let's obliterate every piece of code related to those calls. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/gadget.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index e4c119ee4ebe..2e297e80d59a 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -471,12 +471,6 @@ struct usb_gadget_ops {
struct usb_gadget_driver *);
int (*udc_stop)(struct usb_gadget *,
struct usb_gadget_driver *);
-
- /* Those two are deprecated */
- int (*start)(struct usb_gadget_driver *,
- int (*bind)(struct usb_gadget *,
- struct usb_gadget_driver *driver));
- int (*stop)(struct usb_gadget_driver *);
};
/**
OpenPOWER on IntegriCloud