]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Dec 2025 10:45:44 +0000 (11:45 +0100)
commit a6003d90f02863898babbcb3f55b1cd33f7867c2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/dell/alienware-wmi-wmax.c

index 2021ea669631fad5c0a8669f9ad9d42360d3ebc5..4f04f31d6698c0468ffc9eb5974bf23ecb5aedf1 100644 (file)
@@ -170,74 +170,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,
        },