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
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
u_gether.h
u_hid.h
u_midi.h
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
u_uac1.h usb: gadget: remove gadget_chips.h 2015-08-06 09:35:20 -05:00
u_uac2.h
u_uvc.h
uvc_configfs.c
uvc_configfs.h
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
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
uvc.h usb: gadget: uvc: remove unused including <linux/version.h> 2015-04-27 15:48:11 -05:00