[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230216061016.94355-1-yang.lee@linux.alibaba.com>
Date: Thu, 16 Feb 2023 14:10:16 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: matthias.bgg@...il.com
Cc: rafael@...nel.org, daniel.lezcano@...aro.org, amitk@...nel.org,
rui.zhang@...el.com, angelogioacchino.delregno@...labora.com,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next v2] thermal/drivers/mediatek: Remove unneeded semicolon
Remove an unneeded semicolon to solve the following warning:
./drivers/thermal/mediatek/lvts_thermal.c:520:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4058
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
change in v2:
According to Regno's suggestion, fix the commit description.
drivers/thermal/mediatek/lvts_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c
index 84ba65a27acf..31d65fb50383 100644
--- a/drivers/thermal/mediatek/lvts_thermal.c
+++ b/drivers/thermal/mediatek/lvts_thermal.c
@@ -517,7 +517,7 @@ static int lvts_sensor_init(struct device *dev, struct lvts_ctrl *lvts_ctrl,
*/
lvts_sensor[i].msr = lvts_ctrl_data->mode == LVTS_MSR_IMMEDIATE_MODE ?
imm_regs[i] : msr_regs[i];
- };
+ }
lvts_ctrl->num_lvts_sensor = lvts_ctrl_data->num_lvts_sensor;
--
2.20.1.7.g153144c
Powered by blists - more mailing lists