]> git.baikalelectronics.ru Git - kernel.git/commit
counter: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 27 Sep 2020 19:12:25 +0000 (21:12 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 29 Sep 2020 16:27:08 +0000 (17:27 +0100)
commitd0fed652b76a6b2ff0db56fd6f3fabad5b6a95fd
treef9c75ead5ef6dc0b63a93599990746f73a3dda74
parent01b519bb5ec105188b35665362901c8a1b29326d
counter: 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>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/1601233948-11629-16-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/counter/ti-eqep.c