]> Git Repo - linux.git/commitdiff
watchdog: Convert comma to semicolon
authorShen Lichuan <[email protected]>
Tue, 10 Sep 2024 07:00:58 +0000 (15:00 +0800)
committerWim Van Sebroeck <[email protected]>
Tue, 17 Sep 2024 11:41:31 +0000 (13:41 +0200)
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]>
drivers/watchdog/pm8916_wdt.c

index f3fcbeb0852cc824fe31289eb9f8a8b63a8ab345..007ed139ab9653f34c754ed9fe6d40fd16143170 100644 (file)
@@ -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;
This page took 0.053464 seconds and 4 git commands to generate.