drivers/watchdog: fix checkpatch error
Subsystems (2)
PATCH 1/1 drivers/watchdog: fix checkpatch error
Fix checkpatch ERROR: do not initialise statics to 0
Signed-off-by Nikita Bune <[email protected]>
--- drivers/watchdog/uniphier_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/uniphier_wdt.c +1 -1
@@ -41,7 +41,7 @@#define WDT_PERIOD_MIN 1#define WDT_PERIOD_MAX 128 -static unsigned int timeout =0 ; +static unsigned int timeout;static bool nowayout =WATCHDOG_NOWAYOUT ;struct uniphier_wdt_dev {
Signature · 1 line
2.34.1
Guenter Roeck
maintainerQuoted 3 lines · Nikita Bune
Fix checkpatch ERROR: do not initialise statics to 0
Signed-off-by Nikita Bune <[email protected]>
Not applying. Please stop submitting such cosmetic patches.
Also please note that the subject should start with "<subsystem>: <driver>:".
Guenter
Quoted 17 lines
--- drivers/watchdog/uniphier_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/watchdog/uniphier_wdt.c +1
-1@@ -41,7 +41,7 @@#define WDT_PERIOD_MIN 1#define WDT_PERIOD_MAX 128 -static unsigned int timeout =0 ; +static unsigned int timeout;static bool nowayout =WATCHDOG_NOWAYOUT ;struct uniphier_wdt_dev {