[-next] thermal/drivers/mediatek: Remove unneeded semicolon
Commit Message
./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(-)
Comments
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>
@@ -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;