[PATCH] platform: arm64: huawei-gaokun-ec: Remove unneeded semicolon

Chen Ni posted 1 patch 8 months, 3 weeks ago
drivers/platform/arm64/huawei-gaokun-ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] platform: arm64: huawei-gaokun-ec: Remove unneeded semicolon
Posted by Chen Ni 8 months, 3 weeks ago
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/platform/arm64/huawei-gaokun-ec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/arm64/huawei-gaokun-ec.c b/drivers/platform/arm64/huawei-gaokun-ec.c
index 97c2607f8d9f..7e5aa7ca2403 100644
--- a/drivers/platform/arm64/huawei-gaokun-ec.c
+++ b/drivers/platform/arm64/huawei-gaokun-ec.c
@@ -651,7 +651,7 @@ static int gaokun_ec_resume(struct device *dev)
 			break;
 
 		msleep(100); /* EC need time to resume */
-	};
+	}
 
 	ec->suspended = false;
 
-- 
2.25.1
Re: [PATCH] platform: arm64: huawei-gaokun-ec: Remove unneeded semicolon
Posted by Ilpo Järvinen 8 months, 1 week ago
On Thu, 27 Mar 2025 10:52:44 +0800, Chen Ni wrote:

> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> 


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: arm64: huawei-gaokun-ec: Remove unneeded semicolon
      commit: 70081121e24cacbef8b3be849cc13bea31f8a158

--
 i.