linux/drivers/usb/gadget/function
Robert Baldyga 18411c0f94 usb: gadget: u_serial: eliminate abuse of ep->driver data
Since ep->driver_data is not used for endpoint claiming, neither for
enabled/disabled state storing, we can reduce number of places where
we read or modify it's value, as now it has no particular meaning for
function or framework logic.

In case of u_serial ep->driver_data stores pointer to struct gs_port,
which is referenced in many places in code. Code using ep->driver_data
to mark endpoint as enabled/disabled has been removed.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-09-27 10:54:31 -05:00
..
f_acm.c usb: gadget: f_acm: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_ecm.c usb: gadget: f_ecm: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_eem.c usb: gadget: f_eem: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_fs.c usb: gadget: ffs: call functionfs_unbind() if _ffs_func_bind() fails 2015-07-31 08:57:57 -05:00
f_hid.c usb: gadget: f_hid: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_loopback.c usb: gadget: f_loopback: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_mass_storage.c usb: gadget: f_mass_storage: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_mass_storage.h usb: gadget: mass_storage: Use static array for luns 2015-07-31 09:01:19 -05:00
f_midi.c usb: gadget: f_midi: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_ncm.c usb: gadget: f_ncm: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_obex.c usb: gadget: f_obex: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_phonet.c usb: gadget: f_phonet: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_printer.c usb: gadget: f_printer: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_rndis.c usb: gadget: f_rndis: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_serial.c usb: gadget: f_serial: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_sourcesink.c usb: gadget: f_sourcesink: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_subset.c usb: gadget: f_subset: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_uac1.c usb: gadget: f_uac1: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_uac2.c usb: gadget: f_uac2: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_uvc.c usb: gadget: f_uvc: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
f_uvc.h usb: gadget: f_uvc: remove compatibility layer 2014-09-09 09:49:41 -05:00
g_zero.h Revert "usb: gadget: zero: Add support for interrupt EP" 2015-03-11 10:00:05 -05:00
Makefile usb: gadget: f_printer: convert to new function interface with backward compatibility 2015-03-10 15:33:40 -05:00
ndis.h
rndis.c usb: gadget: rndis: use signed type for a signed value 2015-05-21 16:29:14 -05:00
rndis.h usb: gadget: rndis: use signed type for a signed value 2015-05-21 16:29:14 -05:00
storage_common.c vfs: add file_path() helper 2015-06-23 18:00:05 -04:00
storage_common.h usb: gadget: storage-common: Set FSG_MAX_LUNS to 16 2015-07-29 09:59:19 -05:00
u_ecm.h
u_eem.h
u_ether_configfs.h
u_ether.c usb: gadget: u_ether: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
u_ether.h usb: gadget: remove gadget_chips.h 2015-08-06 09:35:20 -05:00
u_fs.h usb: gadget: ffs: add eventfd notification about ffs events 2015-01-27 09:34:59 -06:00
u_gether.h
u_hid.h usb: gadget: hid: add configfs support 2014-11-06 16:18:19 -06:00
u_midi.h usb: gadget: f_midi: add configfs support 2014-11-05 13:37:17 -06:00
u_ncm.h
u_phonet.h
u_printer.h usb: gadget: printer: add configfs support 2015-03-10 15:33:41 -05:00
u_rndis.h usb: gadget: rndis: remove the limit of available rndis connections 2015-05-07 13:47:17 -05:00
u_serial.c usb: gadget: u_serial: eliminate abuse of ep->driver data 2015-09-27 10:54:31 -05:00
u_serial.h
u_uac1.c usb: gadget: u_uac1: fix one code style problem 2015-01-15 09:41:48 -06:00
u_uac1.h usb: gadget: remove gadget_chips.h 2015-08-06 09:35:20 -05:00
u_uac2.h usb: gadget: f_uac2: add configfs support 2014-08-20 14:04:42 -05:00
u_uvc.h usb: gadget: uvc: configfs support in uvc function 2015-01-12 12:13:26 -06:00
uvc_configfs.c usb: gadget: uvc: comments for iterating over streaming hierarchy 2015-01-27 10:00:27 -06:00
uvc_configfs.h usb: gadget: uvc: configfs support in uvc function 2015-01-12 12:13:26 -06:00
uvc_queue.c [media] uvc gadget: switch to v4l2 core locking 2015-03-02 17:05:23 -03:00
uvc_queue.h [media] uvc gadget: switch to v4l2 core locking 2015-03-02 17:05:23 -03:00
uvc_v4l2.c Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
uvc_v4l2.h usb: gadget: uvc: separately compile some components of f_uvc 2014-09-09 09:49:12 -05:00
uvc_video.c Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
uvc_video.h usb: gadget: uvc: separately compile some components of f_uvc 2014-09-09 09:49:12 -05:00
uvc.h usb: gadget: uvc: remove unused including <linux/version.h> 2015-04-27 15:48:11 -05:00