platform/x86: hp-wmi: Order DMI board name arrays
Ilpo Järvinen
maintainerPATCH 1/1 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.
---
My plan is to merge the fixes branch (which has all the extra IDs) into the for-next branch and apply this then into for-next.
drivers/platform/x86/hp/hp-wmi.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-)
drivers/platform/x86/hp/hp-wmi.c +15 -9
@@ -63,12 +63,16 @@ MODULE_ALIAS("wmi:5FB7F034-2C63-45E9-BE91-3D44E2C707E4");* contains "PerformanceControl". */ static const char *const omen_thermal_profile_boards[] = { -"84DA" ,"84DB" ,"84DC" ,"8574" ,"8575" ,"860A" ,"87B5" ,"8572" ,"8573" , -"8600" ,"8601" ,"8602" ,"8605" ,"8606" ,"8607" ,"8746" ,"8747" ,"8749" , -"874A" ,"8603" ,"8604" ,"8748" ,"886B" ,"886C" ,"878A" ,"878B" ,"878C" , -"88C8" ,"88CB" ,"8786" ,"8787" ,"8788" ,"88D1" ,"88D2" ,"88F4" ,"88FD" , -"88F5" ,"88F6" ,"88F7" ,"88FE" ,"88FF" ,"8900" ,"8901" ,"8902" ,"8912" , -"8917" ,"8918" ,"8949" ,"894A" ,"89EB" ,"8BAD" ,"8A42" ,"8A15" +"84DA" ,"84DB" ,"84DC" , +"8572" ,"8573" ,"8574" ,"8575" , +"8600" ,"8601" ,"8602" ,"8603" ,"8604" ,"8605" ,"8606" ,"8607" ,"860A" , +"8746" ,"8747" ,"8748" ,"8749" ,"874A" ,"8786" ,"8787" ,"8788" ,"878A" , +"878B" ,"878C" ,"87B5" , +"886B" ,"886C" ,"88C8" ,"88CB" ,"88D1" ,"88D2" ,"88F4" ,"88F5" ,"88F6" , +"88F7" ,"88FD" ,"88FE" ,"88FF" , +"8900" ,"8901" ,"8902" ,"8912" ,"8917" ,"8918" ,"8949" ,"894A" ,"89EB" , +"8A15" ,"8A42" , +"8BAD" , };/* DMI Board names of Omen laptops that are specifically set to be thermal
@@ -76,7 +80,8 @@ static const char * const omen_thermal_profile_boards[] = {* the get system design information WMI call returns */ static const char *const omen_thermal_profile_force_v0_boards[] = { -"8607" ,"8746" ,"8747" ,"8749" ,"874A" ,"8748" +"8607" , +"8746" ,"8747" ,"8748" ,"8749" ,"874A" , };/* DMI board names of Omen laptops that have a thermal profile timer which will
@@ -84,12 +89,13 @@ static const char * const omen_thermal_profile_force_v0_boards[] = {* "balanced" when reaching zero. */ static const char *const omen_timed_thermal_profile_boards[] = { -"8BAD" ,"8A42" ,"8A15" +"8A15" ,"8A42" , +"8BAD" , };/* DMI Board names of Victus 16-d1xxx laptops */ static const char *const victus_thermal_profile_boards[] = { -"8A25" +"8A25" , };/* DMI Board names of Victus 16-r and Victus 16-s laptops */
base-commit: 9b9c0adbc3f8a524d291baccc9d0c04097fb4869
Signature · 1 line
2.39.5
Ilpo Järvinen
maintainerQuoted 8 lines · Ilpo Järvinen
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.
[...]
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: hp-wmi: Order DMI board name arrays
commit: 68779adbabdbb1891ba4d9b8c7d3be99ed5e0b3d
--
i.