Skip to content

Commit 2b8dc45

Browse files
kuu-rtij-intel
authored andcommitted
alienware-wmi: order alienware_quirks[] alphabetically
alienware_quirks[] entries are now ordered alphabetically Signed-off-by: Kurt Borja <kuurtb@gmail.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20241111183520.14573-1-kuurtb@gmail.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 0c32840 commit 2b8dc45

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -206,75 +206,75 @@ static int __init dmi_matched(const struct dmi_system_id *dmi)
206206
static const struct dmi_system_id alienware_quirks[] __initconst = {
207207
{
208208
.callback = dmi_matched,
209-
.ident = "Alienware X51 R3",
209+
.ident = "Alienware ASM100",
210210
.matches = {
211211
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
212-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R3"),
212+
DMI_MATCH(DMI_PRODUCT_NAME, "ASM100"),
213213
},
214-
.driver_data = &quirk_x51_r3,
214+
.driver_data = &quirk_asm100,
215215
},
216216
{
217217
.callback = dmi_matched,
218-
.ident = "Alienware X51 R2",
218+
.ident = "Alienware ASM200",
219219
.matches = {
220220
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
221-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R2"),
221+
DMI_MATCH(DMI_PRODUCT_NAME, "ASM200"),
222222
},
223-
.driver_data = &quirk_x51_r1_r2,
223+
.driver_data = &quirk_asm200,
224224
},
225225
{
226226
.callback = dmi_matched,
227-
.ident = "Alienware X51 R1",
227+
.ident = "Alienware ASM201",
228228
.matches = {
229229
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
230-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51"),
230+
DMI_MATCH(DMI_PRODUCT_NAME, "ASM201"),
231231
},
232-
.driver_data = &quirk_x51_r1_r2,
232+
.driver_data = &quirk_asm201,
233233
},
234234
{
235235
.callback = dmi_matched,
236-
.ident = "Alienware ASM100",
236+
.ident = "Alienware x15 R1",
237237
.matches = {
238238
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
239-
DMI_MATCH(DMI_PRODUCT_NAME, "ASM100"),
239+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R1"),
240240
},
241-
.driver_data = &quirk_asm100,
241+
.driver_data = &quirk_x_series,
242242
},
243243
{
244244
.callback = dmi_matched,
245-
.ident = "Alienware ASM200",
245+
.ident = "Alienware X51 R1",
246246
.matches = {
247247
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
248-
DMI_MATCH(DMI_PRODUCT_NAME, "ASM200"),
248+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51"),
249249
},
250-
.driver_data = &quirk_asm200,
250+
.driver_data = &quirk_x51_r1_r2,
251251
},
252252
{
253253
.callback = dmi_matched,
254-
.ident = "Alienware ASM201",
254+
.ident = "Alienware X51 R2",
255255
.matches = {
256256
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
257-
DMI_MATCH(DMI_PRODUCT_NAME, "ASM201"),
257+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R2"),
258258
},
259-
.driver_data = &quirk_asm201,
259+
.driver_data = &quirk_x51_r1_r2,
260260
},
261261
{
262262
.callback = dmi_matched,
263-
.ident = "Dell Inc. Inspiron 5675",
263+
.ident = "Alienware X51 R3",
264264
.matches = {
265-
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
266-
DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5675"),
265+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
266+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware X51 R3"),
267267
},
268-
.driver_data = &quirk_inspiron5675,
268+
.driver_data = &quirk_x51_r3,
269269
},
270270
{
271271
.callback = dmi_matched,
272-
.ident = "Alienware x15 R1",
272+
.ident = "Dell Inc. Inspiron 5675",
273273
.matches = {
274-
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
275-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R1"),
274+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
275+
DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5675"),
276276
},
277-
.driver_data = &quirk_x_series,
277+
.driver_data = &quirk_inspiron5675,
278278
},
279279
{}
280280
};

0 commit comments

Comments
 (0)