HID: multitouch: Fix alphabetic sorting of mt_devices table.
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Nov 2017 11:57:07 +0000 (12:57 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 22 Nov 2017 15:01:06 +0000 (16:01 +0100)
Fix alphabetic sorting of mt_devices hid_device_id table.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c

index 65ea23be9677b6dbd0b539ee2cc7ca1abd58958a..9ef24b518f12ca90ba21ff6c341dfcde2ce0a4d9 100644 (file)
@@ -1649,14 +1649,6 @@ static const struct hid_device_id mt_devices[] = {
                MT_USB_DEVICE(USB_VENDOR_ID_TURBOX,
                        USB_DEVICE_ID_TURBOX_TOUCHSCREEN_MOSART) },
 
-       /* Panasonic panels */
-       { .driver_data = MT_CLS_PANASONIC,
-               MT_USB_DEVICE(USB_VENDOR_ID_PANASONIC,
-                       USB_DEVICE_ID_PANABOARD_UBT780) },
-       { .driver_data = MT_CLS_PANASONIC,
-               MT_USB_DEVICE(USB_VENDOR_ID_PANASONIC,
-                       USB_DEVICE_ID_PANABOARD_UBT880) },
-
        /* Novatek Panel */
        { .driver_data = MT_CLS_NSMU,
                MT_USB_DEVICE(USB_VENDOR_ID_NOVATEK,
@@ -1667,6 +1659,14 @@ static const struct hid_device_id mt_devices[] = {
                HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
                        USB_VENDOR_ID_NTRIG, 0x1b05) },
 
+       /* Panasonic panels */
+       { .driver_data = MT_CLS_PANASONIC,
+               MT_USB_DEVICE(USB_VENDOR_ID_PANASONIC,
+                       USB_DEVICE_ID_PANABOARD_UBT780) },
+       { .driver_data = MT_CLS_PANASONIC,
+               MT_USB_DEVICE(USB_VENDOR_ID_PANASONIC,
+                       USB_DEVICE_ID_PANABOARD_UBT880) },
+
        /* PixArt optical touch screen */
        { .driver_data = MT_CLS_INRANGE_CONTACTNUMBER,
                MT_USB_DEVICE(USB_VENDOR_ID_PIXART,