Skip to content

Commit a875806

Browse files
Chen NiUwe Kleine-König
authored andcommitted
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 3a4a308 ("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>
1 parent b55bbc2 commit a875806

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pwm/pwm-mediatek.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static int pwm_mediatek_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_
266266
DIV_ROUND_UP_ULL(NSEC_PER_SEC, clk_rate),
267267
.duty_length_ns = 0,
268268
};
269-
};
269+
}
270270

271271
dev_dbg(&chip->dev, "pwm#%u: ENABLE: %x, CLKDIV: %x, PERIOD: %x, DUTY: %x @%lu -> %lld/%lld\n",
272272
pwm->hwpwm, wfhw->enable, clkdiv, cnt_period, cnt_duty, clk_rate,

0 commit comments

Comments
 (0)