Skip to content

Commit a6003d9

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

1 file changed

Lines changed: 8 additions & 48 deletions

File tree

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

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -162,74 +162,34 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
162162
.driver_data = &generic_quirks,
163163
},
164164
{
165-
.ident = "Dell Inc. G15 5510",
165+
.ident = "Dell Inc. G15",
166166
.matches = {
167167
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
168-
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5510"),
168+
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15"),
169169
},
170170
.driver_data = &g_series_quirks,
171171
},
172172
{
173-
.ident = "Dell Inc. G15 5511",
173+
.ident = "Dell Inc. G16",
174174
.matches = {
175175
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
176-
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5511"),
176+
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16"),
177177
},
178178
.driver_data = &g_series_quirks,
179179
},
180180
{
181-
.ident = "Dell Inc. G15 5515",
181+
.ident = "Dell Inc. G3",
182182
.matches = {
183183
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
184-
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5515"),
184+
DMI_MATCH(DMI_PRODUCT_NAME, "G3"),
185185
},
186186
.driver_data = &g_series_quirks,
187187
},
188188
{
189-
.ident = "Dell Inc. G15 5530",
189+
.ident = "Dell Inc. G5",
190190
.matches = {
191191
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
192-
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5530"),
193-
},
194-
.driver_data = &g_series_quirks,
195-
},
196-
{
197-
.ident = "Dell Inc. G16 7630",
198-
.matches = {
199-
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
200-
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16 7630"),
201-
},
202-
.driver_data = &g_series_quirks,
203-
},
204-
{
205-
.ident = "Dell Inc. G3 3500",
206-
.matches = {
207-
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
208-
DMI_MATCH(DMI_PRODUCT_NAME, "G3 3500"),
209-
},
210-
.driver_data = &g_series_quirks,
211-
},
212-
{
213-
.ident = "Dell Inc. G3 3590",
214-
.matches = {
215-
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
216-
DMI_MATCH(DMI_PRODUCT_NAME, "G3 3590"),
217-
},
218-
.driver_data = &g_series_quirks,
219-
},
220-
{
221-
.ident = "Dell Inc. G5 5500",
222-
.matches = {
223-
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
224-
DMI_MATCH(DMI_PRODUCT_NAME, "G5 5500"),
225-
},
226-
.driver_data = &g_series_quirks,
227-
},
228-
{
229-
.ident = "Dell Inc. G5 5505",
230-
.matches = {
231-
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
232-
DMI_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
192+
DMI_MATCH(DMI_PRODUCT_NAME, "G5"),
233193
},
234194
.driver_data = &g_series_quirks,
235195
},

0 commit comments

Comments
 (0)