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:
parent
eb90d81d03
commit
03315adca7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user