X86 platform drivers
 help / color / mirror / Atom feed
From: Kurt Borja <kuurtb@gmail.com>
To: kuurtb@gmail.com
Cc: ilpo.jarvinen@linux.intel.com, w_armin@gmx.de,
	hdegoede@redhat.com, linux-kernel@vger.kernel.org,
	platform-driver-x86@vger.kernel.org, Dell.Client.Kernel@dell.com
Subject: [PATCH 1/5] alienware-wmi: order alienware_quirks[] alphabetically
Date: Mon, 11 Nov 2024 15:35:20 -0300	[thread overview]
Message-ID: <20241111183520.14573-1-kuurtb@gmail.com> (raw)
In-Reply-To: <20241111183308.14081-3-kuurtb@gmail.com>

alienware_quirks[] entries are now ordered alphabetically

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
 drivers/platform/x86/dell/alienware-wmi.c | 52 +++++++++++------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/drivers/platform/x86/dell/alienware-wmi.c b/drivers/platform/x86/dell/alienware-wmi.c
index a800c28bb4d5..bcc80ca8861c 100644
--- a/drivers/platform/x86/dell/alienware-wmi.c
+++ b/drivers/platform/x86/dell/alienware-wmi.c
@@ -206,75 +206,75 @@ static int __init dmi_matched(const struct dmi_system_id *dmi)
 static const struct dmi_system_id alienware_quirks[] __initconst = {
 	{
 		.callback = dmi_matched,
-		.ident = "Alienware X51 R3",
+		.ident = "Alienware ASM100",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R3"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ASM100"),
 		},
-		.driver_data = &quirk_x51_r3,
+		.driver_data = &quirk_asm100,
 	},
 	{
 		.callback = dmi_matched,
-		.ident = "Alienware X51 R2",
+		.ident = "Alienware ASM200",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R2"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ASM200"),
 		},
-		.driver_data = &quirk_x51_r1_r2,
+		.driver_data = &quirk_asm200,
 	},
 	{
 		.callback = dmi_matched,
-		.ident = "Alienware X51 R1",
+		.ident = "Alienware ASM201",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ASM201"),
 		},
-		.driver_data = &quirk_x51_r1_r2,
+		.driver_data = &quirk_asm201,
 	},
 	{
 		.callback = dmi_matched,
-		.ident = "Alienware ASM100",
+		.ident = "Alienware x15 R1",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "ASM100"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R1"),
 		},
-		.driver_data = &quirk_asm100,
+		.driver_data = &quirk_x_series,
 	},
 	{
 		.callback = dmi_matched,
-		.ident = "Alienware ASM200",
+		.ident = "Alienware X51 R1",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "ASM200"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51"),
 		},
-		.driver_data = &quirk_asm200,
+		.driver_data = &quirk_x51_r1_r2,
 	},
 	{
 		.callback = dmi_matched,
-		.ident = "Alienware ASM201",
+		.ident = "Alienware X51 R2",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "ASM201"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R2"),
 		},
-		.driver_data = &quirk_asm201,
+		.driver_data = &quirk_x51_r1_r2,
 	},
 	{
 		.callback = dmi_matched,
-		.ident = "Dell Inc. Inspiron 5675",
+		.ident = "Alienware X51 R3",
 		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5675"),
+			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R3"),
 		},
-		.driver_data = &quirk_inspiron5675,
+		.driver_data = &quirk_x51_r3,
 	},
 	{
 		.callback = dmi_matched,
-		.ident = "Alienware x15 R1",
+		.ident = "Dell Inc. Inspiron 5675",
 		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R1"),
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5675"),
 		},
-		.driver_data = &quirk_x_series,
+		.driver_data = &quirk_inspiron5675,
 	},
 	{}
 };
-- 
2.47.0


  reply	other threads:[~2024-11-11 18:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-11 18:33 [PATCH 0/5] Better thermal mode probing + support for 9 models Kurt Borja
2024-11-11 18:35 ` Kurt Borja [this message]
2024-11-11 18:35 ` [PATCH 2/5] alienware-wmi: extends the list of supported models Kurt Borja
2024-11-11 18:36 ` [PATCH 3/5] alienware-wmi: Adds support to Alienware x17 R2 Kurt Borja
2024-11-11 18:36 ` [PATCH 4/5] alienware-wmi: create_thermal_profile no longer brute-forces IDs Kurt Borja
2024-11-11 18:36 ` [PATCH 5/5] Documentation: alienware-wmi: Describe THERMAL_INFORMATION operation 0x02 Kurt Borja
2024-11-12 10:53 ` [PATCH 0/5] Better thermal mode probing + support for 9 models Ilpo Järvinen
2024-11-16 15:03 ` Ilpo Järvinen
2024-11-16 15:23   ` Kurt Borja

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241111183520.14573-1-kuurtb@gmail.com \
    --to=kuurtb@gmail.com \
    --cc=Dell.Client.Kernel@dell.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=w_armin@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox