提交 03315adc 编写于 作者: S Samuel Tardieu 提交者: 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: NSamuel Tardieu <sam@rfc1149.net>
Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
上级 eb90d81d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册