summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-07-10 00:16:53 +0300
committerHans de Goede <hdegoede@redhat.com>2022-07-10 17:59:57 +0200
commite286044bf5b089801c20688c45b66fd6b6a712fa (patch)
tree8d6c4e943f402a60f76e08c7cdeea169f6d1db68
parentf3e13bbc6f5a84f9c15883a97649023522eec481 (diff)
downloadlinux-e286044bf5b089801c20688c45b66fd6b6a712fa.tar.gz
linux-e286044bf5b089801c20688c45b66fd6b6a712fa.tar.bz2
linux-e286044bf5b089801c20688c45b66fd6b6a712fa.zip
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>
-rw-r--r--drivers/platform/x86/serial-multi-instantiate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/serial-multi-instantiate.c b/drivers/platform/x86/serial-multi-instantiate.c
index 24f915bbdec1..67feed25c9db 100644
--- a/drivers/platform/x86/serial-multi-instantiate.c
+++ b/drivers/platform/x86/serial-multi-instantiate.c
@@ -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 },
{ }