2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00

[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>
This commit is contained in:
Samuel Tardieu 2008-03-12 14:28:01 +01:00 committed by Wim Van Sebroeck
parent eb90d81d03
commit 03315adca7

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