1
0
Fork 0

[WATCHDOG] Make w83697h_wdt void-like functions void

Some non-exported functions always returned 0. Mark them void instead.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
hifive-unleashed-5.1
Samuel Tardieu 2008-03-12 14:28:01 +01:00 committed by Wim Van Sebroeck
parent eb90d81d03
commit 03315adca7
1 changed files with 3 additions and 6 deletions

View File

@ -140,7 +140,7 @@ w83697hf_init(void)
w83697hf_deselect_wdt();
}
static int
static void
wdt_ping(void)
{
spin_lock(&io_lock);
@ -150,10 +150,9 @@ wdt_ping(void)
w83697hf_deselect_wdt();
spin_unlock(&io_lock);
return 0;
}
static int
static void
wdt_enable(void)
{
spin_lock(&io_lock);
@ -164,10 +163,9 @@ wdt_enable(void)
w83697hf_deselect_wdt();
spin_unlock(&io_lock);
return 0;
}
static int
static void
wdt_disable(void)
{
spin_lock(&io_lock);
@ -178,7 +176,6 @@ wdt_disable(void)
w83697hf_deselect_wdt();
spin_unlock(&io_lock);
return 0;
}
static int