diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 17:13:36 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 11:00:08 +0200 |
commit | 5f391979c9aaa0ccecaf40f9b39359c584f7d615 (patch) | |
tree | 90f334a66101c5a52e51cbf259103daf62e8b348 /drivers/usb/serial/f81534.c | |
parent | 9d717271d6b5cbbe6aaa975648d9dcfe9b6e7b82 (diff) | |
download | op-kernel-dev-5f391979c9aaa0ccecaf40f9b39359c584f7d615.zip op-kernel-dev-5f391979c9aaa0ccecaf40f9b39359c584f7d615.tar.gz |
USB: serial: aircable: use calc_num_endpoints to verify endpoints
Use the calc_num_ports rather than probe callback to determine which
interface to bind to.
This allows us to remove some duplicate code.
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/f81534.c')
0 files changed, 0 insertions, 0 deletions