[PATCH v2] platform/x86: hp-wmi: Add thermal support for board 8B2F

yoy95104 posted 1 patch 1 day, 22 hours ago
drivers/platform/x86/hp/hp-wmi.c | 4 ++++
1 file changed, 4 insertions(+)
[PATCH v2] platform/x86: hp-wmi: Add thermal support for board 8B2F
Posted by yoy95104 1 day, 22 hours ago
From: yahia ahmed <yahia.a.abdrabou@gmail.com>

Thank you for you review,I Added thermal support
for board 8B2f by adding the board ID to
victus_s_thermal_profile_boards table and 
I removed the definitions and checked the code 
as per ./scripts/checkpatch.pl and to clarify
i didn't use any AI or tool to make this patch

Signed-off-by: yahia ahmed <yahia.a.abdrabou@gmail.com>
---
 drivers/platform/x86/hp/hp-wmi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
index 6950bec2a9d8..581f27204a65 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -253,6 +253,10 @@ static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8D87") },
 		.driver_data = (void *)&victus_s_thermal_params,
 	},
+	{
+		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8B2F") },
+		.driver_data = (void *)&victus_s_thermal_params,
+	},
 	{},
 };
 
2.54.0