diff options
| author | 2019-11-07 14:28:54 +0100 | |
|---|---|---|
| committer | 2019-11-12 09:56:20 +0100 | |
| commit | 375cb533c00a237264cc1d810d22f70de30362c2 (patch) | |
| tree | 2bcede75b647dd55679bbe8a535345d647474d15 /include/linux/phy/git: | |
| parent | USB: serial: mos7840: fix remote wakeup (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 'include/linux/phy/git:')
0 files changed, 0 insertions, 0 deletions
