diff options
author | Johan Hovold | 2017-03-16 17:13:32 +0100 |
---|---|---|
committer | Johan Hovold | 2017-03-28 10:54:39 +0200 |
commit | a794499b261b8487a984783ccc864975e1bcc7bf (patch) | |
tree | 57dfa404104d6fd86e756c1c10dd5d1ff3e9143b /drivers/usb/serial/sierra.c | |
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>
Diffstat (limited to 'drivers/usb/serial/sierra.c')
0 files changed, 0 insertions, 0 deletions