aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShen Lichuan <[email protected]>2024-09-10 15:00:58 +0800
committerWim Van Sebroeck <[email protected]>2024-09-17 13:41:31 +0200
commit134d2531ef82043e8bf219497a4f1eb8fe21a6b7 (patch)
tree63e8f416faa02c6a2fbd92afee8c763988e22c6b
parent95c588f69ee5bf5ba5884ca156ac9d5c9309f6da (diff)
watchdog: Convert comma to semicolon
To ensure code clarity and prevent potential errors, it's advisable to employ the ';' as a statement separator, except when ',' are intentionally used for specific purposes. Signed-off-by: Shen Lichuan <[email protected]> Reviewed-by: Wim Van Sebroeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
-rw-r--r--drivers/watchdog/pm8916_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pm8916_wdt.c b/drivers/watchdog/pm8916_wdt.c
index f3fcbeb0852c..007ed139ab96 100644
--- a/drivers/watchdog/pm8916_wdt.c
+++ b/drivers/watchdog/pm8916_wdt.c
@@ -218,7 +218,7 @@ static int pm8916_wdt_probe(struct platform_device *pdev)
return err;
}
- wdt->wdev.ops = &pm8916_wdt_ops,
+ wdt->wdev.ops = &pm8916_wdt_ops;
wdt->wdev.parent = dev;
wdt->wdev.min_timeout = PM8916_WDT_MIN_TIMEOUT;
wdt->wdev.max_timeout = PM8916_WDT_MAX_TIMEOUT;