USB: serial: ftdi_sio: clean up chip type enum
authorJohan Hovold <johan@kernel.org>
Sun, 11 Sep 2022 14:02:05 +0000 (16:02 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 15 Sep 2022 06:05:45 +0000 (08:05 +0200)
commit366e89aafe200d654d6fca788cb837906c82159d
tree0cb75598d35dc3e0d7eafc49c4c8441265d52872
parent7bd7ad3c310cd6766f170927381eea0aa6f46c69
USB: serial: ftdi_sio: clean up chip type enum

Clean up the chip type enum by dropping the explicit values and moving
the definition to the implementation to make it easier to add further
types.

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