[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251105214847.1279520-1-nichen@iscas.ac.cn>
Date: Thu, 6 Nov 2025 05:48:47 +0800
From: Chen Ni <nichen@...as.ac.cn>
To: ukleinek@...nel.org,
matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com
Cc: linux-pwm@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
Chen Ni <nichen@...as.ac.cn>
Subject: [PATCH] pwm: mediatek: Remove unneeded semicolon
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Chen Ni <nichen@...as.ac.cn>
---
drivers/pwm/pwm-mediatek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index f2c918c0d26a..fecc1b91e14c 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers/pwm/pwm-mediatek.c
@@ -266,7 +266,7 @@ static int pwm_mediatek_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_
DIV_ROUND_UP_ULL(NSEC_PER_SEC, clk_rate),
.duty_length_ns = 0,
};
- };
+ }
dev_dbg(&chip->dev, "pwm#%u: ENABLE: %x, CLKDIV: %x, PERIOD: %x, DUTY: %x @%lu -> %lld/%lld\n",
pwm->hwpwm, wfhw->enable, clkdiv, cnt_period, cnt_duty, clk_rate,
--
2.25.1
Powered by blists - more mailing lists