diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-09-16 13:11:03 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-09-27 18:54:31 +0300 |
commit | 4ce86bfaa62f7f044701b796f1ee84e80308457f (patch) | |
tree | 970aebdb868246d343f27d1bdfd1ac636f7433dc /include/linux/usb/phy.h | |
parent | 18411c0f94716ec225a4f7e1d7735c80f5ec0dab (diff) | |
download | linux-4ce86bfaa62f7f044701b796f1ee84e80308457f.tar.xz |
usb: gadget: legacy: dbgp: 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 dbgp, ep->driver_data was used only for endpoint claiming
and marking endpoints as enabled, so we can simplify code by reducing
it.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/phy.h')
0 files changed, 0 insertions, 0 deletions