[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221008070411.51859-1-jiapeng.chong@linux.alibaba.com>
Date: Sat, 8 Oct 2022 15:04:11 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: peter@...e.net
Cc: hdegoede@...hat.com, markgross@...nel.org,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] acerhdf: remove unneeded semicolon
./drivers/platform/x86/acerhdf.c:344:2-3: Unneeded semicolon.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2271
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/platform/x86/acerhdf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c
index 1956469c3457..6cf7f2a8a074 100644
--- a/drivers/platform/x86/acerhdf.c
+++ b/drivers/platform/x86/acerhdf.c
@@ -341,7 +341,7 @@ static void acerhdf_check_param(struct thermal_zone_device *thermal)
pr_err("fanoff temperature (%d) is above fanon temperature (%d), clamping to %d\n",
fanoff, fanon, fanon);
fanoff = fanon;
- };
+ }
trips[0].temperature = fanon;
trips[0].hysteresis = fanon - fanoff;
--
2.20.1.7.g153144c
Powered by blists - more mailing lists