summaryrefslogtreecommitdiff
path: root/drivers/platform/x86
diff options
context:
space:
mode:
authorKurt Borja <kuurtb@gmail.com>2024-11-11 15:35:20 -0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-11-16 16:48:53 +0200
commit2b8dc45b8ca31e3a0ed1d71cfc042b9b7af85dfb (patch)
tree91979fef9d2e181953999a258890823fec303d96 /drivers/platform/x86
parent0c32840763b1579c923b4216c18bb756ca4ba473 (diff)
alienware-wmi: order alienware_quirks[] alphabetically
alienware_quirks[] entries are now ordered alphabetically Signed-off-by: Kurt Borja <kuurtb@gmail.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20241111183520.14573-1-kuurtb@gmail.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r--drivers/platform/x86/dell/alienware-wmi.c52
1 files 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,
},
{}
};