Skip to content

Commit 0d555b3

Browse files
JuliaLawallKAGA-KOKO
authored andcommitted
clocksource/drivers/mps2-timer: Use semicolons rather than commas to separate statements
Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // <smpl> @@ expression e1,e2; @@ e1 -, +; e2 ... when any // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1601233948-11629-12-git-send-email-Julia.Lawall@inria.fr
1 parent 3b17c8f commit 0d555b3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/clocksource/mps2-timer.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ static int __init mps2_clockevent_init(struct device_node *np)
149149
ce->clkevt.rating = 200;
150150
ce->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT;
151151
ce->clkevt.cpumask = cpu_possible_mask;
152-
ce->clkevt.set_state_shutdown = mps2_timer_shutdown,
153-
ce->clkevt.set_state_periodic = mps2_timer_set_periodic,
154-
ce->clkevt.set_state_oneshot = mps2_timer_shutdown,
152+
ce->clkevt.set_state_shutdown = mps2_timer_shutdown;
153+
ce->clkevt.set_state_periodic = mps2_timer_set_periodic;
154+
ce->clkevt.set_state_oneshot = mps2_timer_shutdown;
155155
ce->clkevt.set_next_event = mps2_timer_set_next_event;
156156

157157
/* Ensure timer is disabled */

0 commit comments

Comments
 (0)