USB: serial: f81534: clean up calc_num_ports
authorJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 16:13:57 +0000 (17:13 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 28 Mar 2017 09:14:13 +0000 (11:14 +0200)
commit5e07240a12101af8481a90283da766905caf35f8
tree7623060ec682beac7cdcf8913b3f497aedddc514
parentd69f138747b92856cad63437f859f27da9d8ea70
USB: serial: f81534: clean up calc_num_ports

Clean up calc_num_ports with respect to handling older chips that lack
config data.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/f81534.c