From a875806eac0b0d4be5bbf901350fcca22f515d92 Mon Sep 17 00:00:00 2001 From: Chen Ni Date: Tue, 4 Nov 2025 15:33:04 +0800 Subject: [PATCH] pwm: mediatek: Remove unneeded semicolon MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci. This was introduced in commit 3a4a308c069a ("pwm: mediatek: Convert to waveform API"). Signed-off-by: Chen Ni Link: https://patch.msgid.link/20251105214847.1279520-1-nichen@iscas.ac.cn [ukleinek: Add reference to introducing commit.] Signed-off-by: Uwe Kleine-König --- 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 f2c918c0d26ab..fecc1b91e14c9 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.47.3