Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5f391979 authored by Johan Hovold's avatar Johan Hovold
Browse files

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: default avatarJohan Hovold <johan@kernel.org>
parent 9d717271
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment