]> Gentwo Git Trees - linux/.git/commitdiff
pwm: mediatek: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 4 Nov 2025 07:33:04 +0000 (15:33 +0800)
committerUwe Kleine-König <ukleinek@kernel.org>
Fri, 14 Nov 2025 10:56:14 +0000 (11:56 +0100)
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 <nichen@iscas.ac.cn>
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 <ukleinek@kernel.org>
drivers/pwm/pwm-mediatek.c

index f2c918c0d26ab48c6111b417baf382faed871251..fecc1b91e14c9ebc45eaac54580f0d317de9309b 100644 (file)
@@ -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,