* [PATCH] pwm: atmel-tcb: Remove unneeded semicolon
@ 2026-04-28 7:53 Chen Ni
2026-04-28 13:36 ` Uwe Kleine-König
0 siblings, 1 reply; 2+ messages in thread
From: Chen Ni @ 2026-04-28 7:53 UTC (permalink / raw)
To: ukleinek
Cc: nicolas.ferre, alexandre.belloni, claudiu.beznea, linux-pwm,
linux-arm-kernel, Chen Ni
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
drivers/pwm/pwm-atmel-tcb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c
index 3d30aeab507e..a765ef279b51 100644
--- a/drivers/pwm/pwm-atmel-tcb.c
+++ b/drivers/pwm/pwm-atmel-tcb.c
@@ -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)
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pwm: atmel-tcb: Remove unneeded semicolon
2026-04-28 7:53 [PATCH] pwm: atmel-tcb: Remove unneeded semicolon Chen Ni
@ 2026-04-28 13:36 ` Uwe Kleine-König
0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2026-04-28 13:36 UTC (permalink / raw)
To: Chen Ni
Cc: nicolas.ferre, alexandre.belloni, claudiu.beznea, linux-pwm,
linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
Hello,
On Tue, Apr 28, 2026 at 03:53:29PM +0800, Chen Ni wrote:
> - goto err_disable_clk;;
> + goto err_disable_clk;
Oh, that is my fault. If you're ok I'd add
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.
to the commit log. I'll apply it then to my fixes branch but not send it
to Linus. But if something more urgent pops up I'll send it along.
Thanks,
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-28 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 7:53 [PATCH] pwm: atmel-tcb: Remove unneeded semicolon Chen Ni
2026-04-28 13:36 ` Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox