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)
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

index 1ff07fa..e27771d 100644 (file)
@@ -439,7 +439,7 @@ static int ti_eqep_remove(struct platform_device *pdev)
        struct device *dev = &pdev->dev;
 
        counter_unregister(&priv->counter);
-       pm_runtime_put_sync(dev),
+       pm_runtime_put_sync(dev);
        pm_runtime_disable(dev);
 
        return 0;