USB: serial: ch341: sort device-id entries
Subsystems (3)
Johan Hovold
maintainerPATCH 1/1 USB: serial: ch341: sort device-id entries
Keep the device-id entries sorted to make it easier to add new ones in the right spot.
Signed-off-by Johan Hovold <[email protected]>
--- drivers/usb/serial/ch341.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/usb/serial/ch341.c +3 -3
@@ -81,11 +81,11 @@#define CH341_QUIRK_SIMULATE_BREAK BIT(1)static const struct usb_device_id id_table[] = { - {USB_DEVICE (0x4348 ,0x5523 ) }, - {USB_DEVICE (0x1a86 ,0x7522 ) }, - {USB_DEVICE (0x1a86 ,0x7523 ) }, {USB_DEVICE (0x1a86 ,0x5512 ) }, {USB_DEVICE (0x1a86 ,0x5523 ) }, + {USB_DEVICE (0x1a86 ,0x7522 ) }, + {USB_DEVICE (0x1a86 ,0x7523 ) }, + {USB_DEVICE (0x4348 ,0x5523 ) }, { }, };MODULE_DEVICE_TABLE (usb, id_table);
Signature · 1 line
2.26.2
Quoted 5 lines · Johan Hovold
Keep the device-id entries sorted to make it easier to add new ones in the right spot.
Signed-off-by Johan Hovold <[email protected]>
Reviewed-by Greg Kroah-Hartman <[email protected]>
Johan Hovold
maintainerQuoted 8 lines · Greg Kroah-Hartman
Quoted 5 lines · Johan Hovold
Keep the device-id entries sorted to make it easier to add new ones in the right spot.
Signed-off-by Johan Hovold <[email protected]>Reviewed-by Greg Kroah-Hartman <[email protected]>
Thanks. I've applied this one to go in along with the new device id.
Johan