commit | a794499b261b8487a984783ccc864975e1bcc7bf | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Mar 16 17:13:32 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Tue Mar 28 10:54:39 2017 +0200 |
tree | 57dfa404104d6fd86e756c1c10dd5d1ff3e9143b | |
parent | 415d7b3a5407d91fdf47a07fd31d63e4b548651f [diff] |
USB: serial: add calc_num_ports callback to generic driver Add a calc_num_ports callback to the generic driver and verify that the device has the required endpoints there instead of in core. Note that the generic driver num_ports field was never used. Signed-off-by: Johan Hovold <johan@kernel.org>