[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <160153999169.7002.13925781028080360919.tip-bot2@tip-bot2>
Date: Thu, 01 Oct 2020 08:13:11 -0000
From: "tip-bot2 for Julia Lawall" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Julia Lawall <Julia.Lawall@...ia.fr>,
Thomas Gleixner <tglx@...utronix.de>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: timers/core] clocksource/drivers/mps2-timer: Use semicolons
rather than commas to separate statements
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 0d555b3ac49b40f94c270681b697d45dcae9faa6
Gitweb: https://git.kernel.org/tip/0d555b3ac49b40f94c270681b697d45dcae9faa6
Author: Julia Lawall <Julia.Lawall@...ia.fr>
AuthorDate: Sun, 27 Sep 2020 21:12:21 +02:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Thu, 01 Oct 2020 10:07:26 +02:00
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@...ia.fr>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
Link: https://lore.kernel.org/r/1601233948-11629-12-git-send-email-Julia.Lawall@inria.fr
---
drivers/clocksource/mps2-timer.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clocksource/mps2-timer.c b/drivers/clocksource/mps2-timer.c
index 2e64d98..efe8cad 100644
--- a/drivers/clocksource/mps2-timer.c
+++ b/drivers/clocksource/mps2-timer.c
@@ -149,9 +149,9 @@ static int __init mps2_clockevent_init(struct device_node *np)
ce->clkevt.rating = 200;
ce->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT;
ce->clkevt.cpumask = cpu_possible_mask;
- ce->clkevt.set_state_shutdown = mps2_timer_shutdown,
- ce->clkevt.set_state_periodic = mps2_timer_set_periodic,
- ce->clkevt.set_state_oneshot = mps2_timer_shutdown,
+ ce->clkevt.set_state_shutdown = mps2_timer_shutdown;
+ ce->clkevt.set_state_periodic = mps2_timer_set_periodic;
+ ce->clkevt.set_state_oneshot = mps2_timer_shutdown;
ce->clkevt.set_next_event = mps2_timer_set_next_event;
/* Ensure timer is disabled */
Powered by blists - more mailing lists