diff options
author | Johan Hovold <johan@kernel.org> | 2020-02-03 18:38:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-10 22:14:22 +0300 |
commit | 7f1b92a6a7f2b96a8647a488370b9a851433df77 (patch) | |
tree | 7f4560bbc47fe20e5d95af97f81a6daf95dae751 /drivers/usb/host/xhci-hub.c | |
parent | bdd1b147b8026df0e4260b387026b251d888ed01 (diff) |
USB: core: clean up endpoint-descriptor parsing
Use the new usb-device pointer instead of back-casting when accessing
the struct usb_device when parsing endpoints.
Note that this introduces two lines that are longer than 80 chars on
purpose.
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20200203153830.26394-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-hub.c')
0 files changed, 0 insertions, 0 deletions