watchdog: iTCO_wdt: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Mon, 2 Sep 2024 08:10:51 +0000 (16:10 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 10 Sep 2024 09:08:48 +0000 (11:08 +0200)
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240902081051.3824822-1-nichen@iscas.ac.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/iTCO_wdt.c

index 264857d314da8b5833f994b1907b2ef254c5f80b..35b358bcf94ce68fdb80d57ed4da760f09a14d18 100644 (file)
@@ -563,8 +563,8 @@ static int iTCO_wdt_probe(struct platform_device *pdev)
        }
 
        ident.firmware_version = p->iTCO_version;
-       p->wddev.info = &ident,
-       p->wddev.ops = &iTCO_wdt_ops,
+       p->wddev.info = &ident;
+       p->wddev.ops = &iTCO_wdt_ops;
        p->wddev.bootstatus = 0;
        p->wddev.timeout = WATCHDOG_TIMEOUT;
        watchdog_set_nowayout(&p->wddev, nowayout);