watchdog: rza_wdt: Use semicolons instead of commas
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 15 Sep 2021 09:48:23 +0000 (11:48 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 26 Oct 2021 19:31:10 +0000 (21:31 +0200)
This code works, but it is cleaner to use semicolons at the end of
statements instead of commas.

Extracted from a big anonymous patch by Julia Lawall
<julia.lawall@inria.fr>.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/fa4451efd21e287f8fdf2f7f8495b070544209c0.1631699262.git.geert+renesas@glider.be
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/rza_wdt.c

index 7b6c365..fe6c2ed 100644 (file)
@@ -189,8 +189,8 @@ static int rza_wdt_probe(struct platform_device *pdev)
                return -ENOENT;
        }
 
-       priv->wdev.info = &rza_wdt_ident,
-       priv->wdev.ops = &rza_wdt_ops,
+       priv->wdev.info = &rza_wdt_ident;
+       priv->wdev.ops = &rza_wdt_ops;
        priv->wdev.parent = dev;
 
        priv->cks = (u8)(uintptr_t) of_device_get_match_data(dev);