[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240902081051.3824822-1-nichen@iscas.ac.cn>
Date: Mon, 2 Sep 2024 16:10:51 +0800
From: Chen Ni <nichen@...as.ac.cn>
To: wim@...ux-watchdog.org,
linux@...ck-us.net,
andy.shevchenko@...il.com
Cc: linux-watchdog@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chen Ni <nichen@...as.ac.cn>
Subject: [PATCH] watchdog: iTCO_wdt: Convert comma to semicolon
Replace a comma between expression statements by a semicolon.
Fixes: ce1b95ca23c1 ("watchdog: iTCO_wdt: Use allocated data structures")
Signed-off-by: Chen Ni <nichen@...as.ac.cn>
---
drivers/watchdog/iTCO_wdt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
index 264857d314da..35b358bcf94c 100644
--- a/drivers/watchdog/iTCO_wdt.c
+++ b/drivers/watchdog/iTCO_wdt.c
@@ -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);
--
2.25.1
Powered by blists - more mailing lists