]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: alienware-wmi-wmax: Add support for the whole "G" family
authorKurt Borja <kuurtb@gmail.com>
Mon, 3 Nov 2025 19:01:48 +0000 (14:01 -0500)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 6 Nov 2025 12:19:27 +0000 (14:19 +0200)
Add support for the whole "Dell G" laptop family.

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

index c545eca9192f65aaa21e8309f6aceaa7a6c40081..1c92db1ac087a5cfdb7c4286e3df7af663b3eccb 100644 (file)
@@ -162,74 +162,34 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
                .driver_data = &generic_quirks,
        },
        {
-               .ident = "Dell Inc. G15 5510",
+               .ident = "Dell Inc. G15",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5510"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15"),
                },
                .driver_data = &g_series_quirks,
        },
        {
-               .ident = "Dell Inc. G15 5511",
+               .ident = "Dell Inc. G16",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5511"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16"),
                },
                .driver_data = &g_series_quirks,
        },
        {
-               .ident = "Dell Inc. G15 5515",
+               .ident = "Dell Inc. G3",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5515"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "G3"),
                },
                .driver_data = &g_series_quirks,
        },
        {
-               .ident = "Dell Inc. G15 5530",
+               .ident = "Dell Inc. G5",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5530"),
-               },
-               .driver_data = &g_series_quirks,
-       },
-       {
-               .ident = "Dell Inc. G16 7630",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16 7630"),
-               },
-               .driver_data = &g_series_quirks,
-       },
-       {
-               .ident = "Dell Inc. G3 3500",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "G3 3500"),
-               },
-               .driver_data = &g_series_quirks,
-       },
-       {
-               .ident = "Dell Inc. G3 3590",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "G3 3590"),
-               },
-               .driver_data = &g_series_quirks,
-       },
-       {
-               .ident = "Dell Inc. G5 5500",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "G5 5500"),
-               },
-               .driver_data = &g_series_quirks,
-       },
-       {
-               .ident = "Dell Inc. G5 5505",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "G5"),
                },
                .driver_data = &g_series_quirks,
        },