summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-11-07 14:28:54 +0100
committerJohan Hovold <johan@kernel.org>2019-11-12 09:56:20 +0100
commit375cb533c00a237264cc1d810d22f70de30362c2 (patch)
tree2bcede75b647dd55679bbe8a535345d647474d15 /tools/perf/scripts/python
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 <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions