]> err.no Git - linux-2.6/commitdiff
[WATCHDOG] Make w83697h_wdt void-like functions void
authorSamuel Tardieu <sam@rfc1149.net>
Wed, 12 Mar 2008 13:28:01 +0000 (14:28 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 25 May 2008 09:00:47 +0000 (09:00 +0000)
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>
drivers/watchdog/w83697hf_wdt.c

index c622a0e6c9aed57137b59ab0d1af4aabffefe1dc..b5341741765a0c3cf33f75616dfb9b986c180853 100644 (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