From: Chen Ni Date: Tue, 4 Nov 2025 07:33:04 +0000 (+0800) Subject: pwm: mediatek: Remove unneeded semicolon X-Git-Tag: v6.19-rc1~154^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a875806eac0b0d4be5bbf901350fcca22f515d92;p=thirdparty%2Flinux.git pwm: mediatek: Remove unneeded semicolon 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 --- 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,