public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] thermal/drivers/mediatek: Remove unneeded semicolon
@ 2023-02-15  0:54 Yang Li
  2023-02-15 13:22 ` AngeloGioacchino Del Regno
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2023-02-15  0:54 UTC (permalink / raw)
  To: matthias.bgg
  Cc: rafael, daniel.lezcano, amitk, rui.zhang,
	angelogioacchino.delregno, linux-pm, linux-kernel,
	linux-arm-kernel, linux-mediatek, Yang Li, Abaci Robot

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4058
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] thermal/drivers/mediatek: Remove unneeded semicolon
  2023-02-15  0:54 [PATCH -next] thermal/drivers/mediatek: Remove unneeded semicolon Yang Li
@ 2023-02-15 13:22 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 2+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-02-15 13:22 UTC (permalink / raw)
  To: Yang Li, matthias.bgg
  Cc: rafael, daniel.lezcano, amitk, rui.zhang, linux-pm, linux-kernel,
	linux-arm-kernel, linux-mediatek, Abaci Robot

Il 15/02/23 01:54, Yang Li ha scritto:

Please fix the commit description:

Remove an unneeded semicolon to solve the following warning:
drivers/thermal/mediatek/lvts_thermal.c:520:2-3: Unneeded semicolon

After which,

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-15 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-15  0:54 [PATCH -next] thermal/drivers/mediatek: Remove unneeded semicolon Yang Li
2023-02-15 13:22 ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox