2023-08-25 08:30:45

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] thermal/drivers/mediatek/lvts_thermal: remove unneeded semicolon

No functional modification involved.

./drivers/thermal/mediatek/lvts_thermal.c:595:2-3: Unneeded semicolon.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6228
Signed-off-by: Jiapeng Chong <[email protected]>
---
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 effd9b00a424..4a5324aa503f 100644
--- a/drivers/thermal/mediatek/lvts_thermal.c
+++ b/drivers/thermal/mediatek/lvts_thermal.c
@@ -592,7 +592,7 @@ static int lvts_sensor_init(struct device *dev, struct lvts_ctrl *lvts_ctrl,

lvts_sensor[i].low_thresh = INT_MIN;
lvts_sensor[i].high_thresh = INT_MIN;
- };
+ }

lvts_ctrl->num_lvts_sensor = lvts_ctrl_data->num_lvts_sensor;

--
2.20.1.7.g153144c