diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-17 11:35:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-23 13:54:08 +0100 |
commit | f8d8464bfc90e058fe68dee02121d46f661f68cd (patch) | |
tree | a0c2e9ec0825f21c798ebbe2c7138c73014ec55e /drivers/usb/storage/usb.c | |
parent | af59f8955fc572b2a0b61dedfbcd681265a19fde (diff) |
USB: cdc-acm: refactor endpoint retrieval
Use the new endpoint helpers to lookup the required bulk-in, bulk-out
and interrupt-in endpoints for collapsed interfaces.
Note that there is already a check verifying that there are exactly
three endpoints so we'd still be bailing out if there's an unexpected
endpoint type.
Cc: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage/usb.c')
0 files changed, 0 insertions, 0 deletions