Commit 03315adc authored by Samuel Tardieu's avatar Samuel Tardieu Committed by Wim Van Sebroeck

[WATCHDOG] Make w83697h_wdt void-like functions void

Some non-exported functions always returned 0. Mark them void instead.
Signed-off-by: default avatarSamuel Tardieu <sam@rfc1149.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent eb90d81d
...@@ -140,7 +140,7 @@ w83697hf_init(void) ...@@ -140,7 +140,7 @@ w83697hf_init(void)
w83697hf_deselect_wdt(); w83697hf_deselect_wdt();
} }
static int static void
wdt_ping(void) wdt_ping(void)
{ {
spin_lock(&io_lock); spin_lock(&io_lock);
...@@ -150,10 +150,9 @@ wdt_ping(void) ...@@ -150,10 +150,9 @@ wdt_ping(void)
w83697hf_deselect_wdt(); w83697hf_deselect_wdt();
spin_unlock(&io_lock); spin_unlock(&io_lock);
return 0;
} }
static int static void
wdt_enable(void) wdt_enable(void)
{ {
spin_lock(&io_lock); spin_lock(&io_lock);
...@@ -164,10 +163,9 @@ wdt_enable(void) ...@@ -164,10 +163,9 @@ wdt_enable(void)
w83697hf_deselect_wdt(); w83697hf_deselect_wdt();
spin_unlock(&io_lock); spin_unlock(&io_lock);
return 0;
} }
static int static void
wdt_disable(void) wdt_disable(void)
{ {
spin_lock(&io_lock); spin_lock(&io_lock);
...@@ -178,7 +176,6 @@ wdt_disable(void) ...@@ -178,7 +176,6 @@ wdt_disable(void)
w83697hf_deselect_wdt(); w83697hf_deselect_wdt();
spin_unlock(&io_lock); spin_unlock(&io_lock);
return 0;
} }
static int static int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment