]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9228371d7636d147c95835f3d4db797b22837cb7
tree0cb75598d35dc3e0d7eafc49c4c8441265d52872
parent79208e68e66319e2b567a442fe7c36e506484371
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