Skip to content

Commit e8c3c87

Browse files
kuu-rtij-intel
authored andcommitted
platform/x86: alienware-wmi-wmax: Add support for the whole "M" family
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>
1 parent 173b238 commit e8c3c87

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

drivers/platform/x86/dell/alienware-wmi-wmax.c

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,10 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
9898
.driver_data = &generic_quirks,
9999
},
100100
{
101-
.ident = "Alienware m15 R5",
101+
.ident = "Alienware m15",
102102
.matches = {
103103
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
104-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m15 R5"),
105-
},
106-
.driver_data = &generic_quirks,
107-
},
108-
{
109-
.ident = "Alienware m15 R7",
110-
.matches = {
111-
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
112-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m15 R7"),
104+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m15"),
113105
},
114106
.driver_data = &generic_quirks,
115107
},
@@ -138,18 +130,18 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
138130
.driver_data = &generic_quirks,
139131
},
140132
{
141-
.ident = "Alienware m17 R5",
133+
.ident = "Alienware m17",
142134
.matches = {
143135
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
144-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m17 R5 AMD"),
136+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m17"),
145137
},
146138
.driver_data = &generic_quirks,
147139
},
148140
{
149-
.ident = "Alienware m18 R2",
141+
.ident = "Alienware m18",
150142
.matches = {
151143
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
152-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m18 R2"),
144+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m18"),
153145
},
154146
.driver_data = &generic_quirks,
155147
},

0 commit comments

Comments
 (0)