Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+15 -9
+15 -9
drivers/platform/x86/hp/hp-wmi.c
··· 63 63 * contains "PerformanceControl". 64 64 */ 65 65 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", 72 76 }; 73 77 74 78 /* DMI Board names of Omen laptops that are specifically set to be thermal ··· 80 76 * the get system design information WMI call returns 81 77 */ 82 78 static const char * const omen_thermal_profile_force_v0_boards[] = { 83 - "8607", "8746", "8747", "8749", "874A", "8748" 79 + "8607", 80 + "8746", "8747", "8748", "8749", "874A", 84 81 }; 85 82 86 83 /* DMI board names of Omen laptops that have a thermal profile timer which will ··· 89 84 * "balanced" when reaching zero. 90 85 */ 91 86 static const char * const omen_timed_thermal_profile_boards[] = { 92 - "8BAD", "8A42", "8A15" 87 + "8A15", "8A42", 88 + "8BAD", 93 89 }; 94 90 95 91 /* DMI Board names of Victus 16-d1xxx laptops */ 96 92 static const char * const victus_thermal_profile_boards[] = { 97 - "8A25" 93 + "8A25", 98 94 }; 99 95 100 96 /* DMI Board names of Victus 16-r and Victus 16-s laptops */