aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2019-11-07 14:28:54 +0100
committerJohan Hovold <[email protected]>2019-11-12 09:56:20 +0100
commit375cb533c00a237264cc1d810d22f70de30362c2 (patch)
tree2bcede75b647dd55679bbe8a535345d647474d15 /lib/mpi/mpi-inline.h
parent92fe35fb9c70a00d8fbbf5bd6172c921dd9c7815 (diff)
USB: serial: mos7840: clean up device-type handling
The current device-type detection is fragile and can't really be relied upon. Instead of sprinkling device-id conditionals throughout the driver, let's use the device-id table to encode the number of ports and whether the device has a driver-controlled activity LED (MCS7810). Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions