Skip to content

Commit 68779ad

Browse files
committed
platform/x86: hp-wmi: Order DMI board name arrays
The hp-wmi driver has a number of arrays that are getting new entries and all/most entries have been added to the end of the array. As a result, the numerical order is mixed up in a few entries. Reorder the array entries. Split lines for each two leading chars to make the arrays easier to read. Add also trailing commas. Link: https://patch.msgid.link/20251128120215.4450-1-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 594f9cc commit 68779ad

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

drivers/platform/x86/hp/hp-wmi.c

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,33 +63,39 @@ MODULE_ALIAS("wmi:5FB7F034-2C63-45E9-BE91-3D44E2C707E4");
6363
* contains "PerformanceControl".
6464
*/
6565
static const char * const omen_thermal_profile_boards[] = {
66-
"84DA", "84DB", "84DC", "8574", "8575", "860A", "87B5", "8572", "8573",
67-
"8600", "8601", "8602", "8605", "8606", "8607", "8746", "8747", "8749",
68-
"874A", "8603", "8604", "8748", "886B", "886C", "878A", "878B", "878C",
69-
"88C8", "88CB", "8786", "8787", "8788", "88D1", "88D2", "88F4", "88FD",
70-
"88F5", "88F6", "88F7", "88FE", "88FF", "8900", "8901", "8902", "8912",
71-
"8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42", "8A15"
66+
"84DA", "84DB", "84DC",
67+
"8572", "8573", "8574", "8575",
68+
"8600", "8601", "8602", "8603", "8604", "8605", "8606", "8607", "860A",
69+
"8746", "8747", "8748", "8749", "874A", "8786", "8787", "8788", "878A",
70+
"878B", "878C", "87B5",
71+
"886B", "886C", "88C8", "88CB", "88D1", "88D2", "88F4", "88F5", "88F6",
72+
"88F7", "88FD", "88FE", "88FF",
73+
"8900", "8901", "8902", "8912", "8917", "8918", "8949", "894A", "89EB",
74+
"8A15", "8A42",
75+
"8BAD",
7276
};
7377

7478
/* DMI Board names of Omen laptops that are specifically set to be thermal
7579
* profile version 0 by the Omen Command Center app, regardless of what
7680
* the get system design information WMI call returns
7781
*/
7882
static const char * const omen_thermal_profile_force_v0_boards[] = {
79-
"8607", "8746", "8747", "8749", "874A", "8748"
83+
"8607",
84+
"8746", "8747", "8748", "8749", "874A",
8085
};
8186

8287
/* DMI board names of Omen laptops that have a thermal profile timer which will
8388
* cause the embedded controller to set the thermal profile back to
8489
* "balanced" when reaching zero.
8590
*/
8691
static const char * const omen_timed_thermal_profile_boards[] = {
87-
"8BAD", "8A42", "8A15"
92+
"8A15", "8A42",
93+
"8BAD",
8894
};
8995

9096
/* DMI Board names of Victus 16-d1xxx laptops */
9197
static const char * const victus_thermal_profile_boards[] = {
92-
"8A25"
98+
"8A25",
9399
};
94100

95101
/* DMI Board names of Victus 16-r and Victus 16-s laptops */

0 commit comments

Comments
 (0)