]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pwm: atmel-tcb: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 28 Apr 2026 07:53:29 +0000 (15:53 +0800)
committerUwe Kleine-König <ukleinek@kernel.org>
Mon, 18 May 2026 07:13:07 +0000 (09:13 +0200)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

This was introduced in commit 68637b68afcc ("pwm: atmel-tcb:
Cache clock rates and mark chip as atomic") in Uwe's adaption of
Sangyun's original patch.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20260428075329.1234735-1-nichen@iscas.ac.cn
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/pwm-atmel-tcb.c

index 3d30aeab507e0ef67c50716dd028cfd8224cef93..a765ef279b5120659c192c170bcb9583e16c0605 100644 (file)
@@ -443,7 +443,7 @@ static int atmel_tcb_pwm_probe(struct platform_device *pdev)
 
        err = clk_prepare_enable(tcbpwmc->slow_clk);
        if (err)
-               goto err_disable_clk;;
+               goto err_disable_clk;
 
        err = clk_rate_exclusive_get(tcbpwmc->clk);
        if (err)