diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2020-09-27 21:12:25 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-29 17:27:08 +0100 |
commit | bbbeac88fb3540b9421c90866a04a7a89cc6adab (patch) | |
tree | f9c75ead5ef6dc0b63a93599990746f73a3dda74 /drivers/counter | |
parent | c8283ba8e28c6863d0b8703a4e567d6555c43ac2 (diff) | |
download | linux-next-bbbeac88fb3540b9421c90866a04a7a89cc6adab.tar.gz |
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>
Diffstat (limited to 'drivers/counter')
-rw-r--r-- | drivers/counter/ti-eqep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/counter/ti-eqep.c b/drivers/counter/ti-eqep.c index 1ff07faef27f..e27771df8e23 100644 --- a/drivers/counter/ti-eqep.c +++ b/drivers/counter/ti-eqep.c @@ -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; |