diff options
author | Johan Hovold <johan@kernel.org> | 2022-09-11 16:02:05 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2022-09-15 08:05:45 +0200 |
commit | 366e89aafe200d654d6fca788cb837906c82159d (patch) | |
tree | 0cb75598d35dc3e0d7eafc49c4c8441265d52872 /drivers/usb/serial/ftdi_sio.h | |
parent | 7bd7ad3c310cd6766f170927381eea0aa6f46c69 (diff) |
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>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.h')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index be1641e0408b..12bc3a82ac2c 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h @@ -153,18 +153,6 @@ * not supported by the FT8U232AM). */ -enum ftdi_chip_type { - SIO = 1, - FT8U232AM = 2, - FT232BM = 3, - FT2232C = 4, - FT232RL = 5, - FT2232H = 6, - FT4232H = 7, - FT232H = 8, - FTX = 9, -}; - enum ftdi_sio_baudrate { ftdi_sio_b300 = 0, ftdi_sio_b600 = 1, |