summaryrefslogtreecommitdiff
path: root/include/linux/usb/phy.h
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-09-16 13:11:03 +0300
committerFelipe Balbi <balbi@ti.com>2015-09-27 18:54:31 +0300
commit4ce86bfaa62f7f044701b796f1ee84e80308457f (patch)
tree970aebdb868246d343f27d1bdfd1ac636f7433dc /include/linux/usb/phy.h
parent18411c0f94716ec225a4f7e1d7735c80f5ec0dab (diff)
downloadlinux-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