Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: serial-multi-instantiate: Sort ACPI IDs by HID

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>

authored by

Andy Shevchenko and committed by
Hans de Goede
e286044b f3e13bbc

+1 -1
+1 -1
drivers/platform/x86/serial-multi-instantiate.c
··· 324 324 static const struct acpi_device_id smi_acpi_ids[] = { 325 325 { "BSG1160", (unsigned long)&bsg1160_data }, 326 326 { "BSG2150", (unsigned long)&bsg2150_data }, 327 - { "INT3515", (unsigned long)&int3515_data }, 328 327 { "CSC3551", (unsigned long)&cs35l41_hda }, 328 + { "INT3515", (unsigned long)&int3515_data }, 329 329 /* Non-conforming _HID for Cirrus Logic already released */ 330 330 { "CLSA0100", (unsigned long)&cs35l41_hda }, 331 331 { }