]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/counter/ti-eqep.c
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)
commitbbbeac88fb3540b9421c90866a04a7a89cc6adab
treef9c75ead5ef6dc0b63a93599990746f73a3dda74
parentc8283ba8e28c6863d0b8703a4e567d6555c43ac2
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