OSDN Git Service

USB: serial: cp210x: clean up type detection
authorJohan Hovold <johan@kernel.org>
Mon, 5 Jul 2021 08:20:14 +0000 (10:20 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 30 Jul 2021 15:19:45 +0000 (17:19 +0200)
commit33fb934a0992440e3d645d3965e71217c185fd6d
tree7a8a5bec31f4fb145652570200e617a6f10684d3
parent33a61d2cc731d1c8a763f147528fc5e46978599f
USB: serial: cp210x: clean up type detection

Clean up attach somewhat by moving type detection into the quirk helper
and giving it a more generic name.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cp210x.c