platform/x86: serial-multi-instantiate: Sort ACPI IDs by HID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 9 Jul 2022 21:16:53 +0000 (00:16 +0300)
committerHans de Goede <hdegoede@redhat.com>
Sun, 10 Jul 2022 15:59:57 +0000 (17:59 +0200)
It's easier to maintain the sorted table.
Keep the sorting order in sync with one in drivers/acpi/scan.c.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220709211653.18938-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/serial-multi-instantiate.c

index 24f915b..67feed2 100644 (file)
@@ -324,8 +324,8 @@ static const struct smi_node cs35l41_hda = {
 static const struct acpi_device_id smi_acpi_ids[] = {
        { "BSG1160", (unsigned long)&bsg1160_data },
        { "BSG2150", (unsigned long)&bsg2150_data },
-       { "INT3515", (unsigned long)&int3515_data },
        { "CSC3551", (unsigned long)&cs35l41_hda },
+       { "INT3515", (unsigned long)&int3515_data },
        /* Non-conforming _HID for Cirrus Logic already released */
        { "CLSA0100", (unsigned long)&cs35l41_hda },
        { }