]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: alienware-wmi-wmax: Add support for the whole "M" family
authorKurt Borja <kuurtb@gmail.com>
Mon, 3 Nov 2025 19:01:46 +0000 (14:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Dec 2025 10:45:44 +0000 (11:45 +0100)
commit e8c3c875e1017c04c594f0e6127ba82095b1cb87 upstream.

Add support for the whole "Alienware M" laptop family.

Cc: stable@vger.kernel.org
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://patch.msgid.link/20251103-family-supp-v1-3-a241075d1787@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/dell/alienware-wmi-wmax.c

index 53f47660426915f9b6d8450119c92e2418ae15d2..277c96c688512884fe172a64d70b56168e4c2d24 100644 (file)
@@ -106,18 +106,10 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
                .driver_data = &generic_quirks,
        },
        {
-               .ident = "Alienware m15 R5",
+               .ident = "Alienware m15",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m15 R5"),
-               },
-               .driver_data = &generic_quirks,
-       },
-       {
-               .ident = "Alienware m15 R7",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m15 R7"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m15"),
                },
                .driver_data = &generic_quirks,
        },
@@ -146,18 +138,18 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
                .driver_data = &generic_quirks,
        },
        {
-               .ident = "Alienware m17 R5",
+               .ident = "Alienware m17",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m17 R5 AMD"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m17"),
                },
                .driver_data = &generic_quirks,
        },
        {
-               .ident = "Alienware m18 R2",
+               .ident = "Alienware m18",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m18 R2"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m18"),
                },
                .driver_data = &generic_quirks,
        },