aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/w83697hf_wdt.c
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2008-03-12 09:28:01 -0400
committerWim Van Sebroeck <wim@iguana.be>2008-05-25 05:00:47 -0400
commit03315adca76ee93128e4d92566d1f18a1a937e79 (patch)
tree4831b8add867de204611382dd5e56daf0730f7ca /drivers/watchdog/w83697hf_wdt.c
parenteb90d81d03c0917b0fd629f6342554a3b58ea52c (diff)
[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>
Diffstat (limited to 'drivers/watchdog/w83697hf_wdt.c')
-rw-r--r--drivers/watchdog/w83697hf_wdt.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/watchdog/w83697hf_wdt.c b/drivers/watchdog/w83697hf_wdt.c
index c622a0e6c9ae..b5341741765a 100644
--- a/drivers/watchdog/w83697hf_wdt.c
+++ b/drivers/watchdog/w83697hf_wdt.c
@@ -140,7 +140,7 @@ w83697hf_init(void)
140 w83697hf_deselect_wdt(); 140 w83697hf_deselect_wdt();
141} 141}
142 142
143static int 143static void
144wdt_ping(void) 144wdt_ping(void)
145{ 145{
146 spin_lock(&io_lock); 146 spin_lock(&io_lock);
@@ -150,10 +150,9 @@ wdt_ping(void)
150 150
151 w83697hf_deselect_wdt(); 151 w83697hf_deselect_wdt();
152 spin_unlock(&io_lock); 152 spin_unlock(&io_lock);
153 return 0;
154} 153}
155 154
156static int 155static void
157wdt_enable(void) 156wdt_enable(void)
158{ 157{
159 spin_lock(&io_lock); 158 spin_lock(&io_lock);
@@ -164,10 +163,9 @@ wdt_enable(void)
164 163
165 w83697hf_deselect_wdt(); 164 w83697hf_deselect_wdt();
166 spin_unlock(&io_lock); 165 spin_unlock(&io_lock);
167 return 0;
168} 166}
169 167
170static int 168static void
171wdt_disable(void) 169wdt_disable(void)
172{ 170{
173 spin_lock(&io_lock); 171 spin_lock(&io_lock);
@@ -178,7 +176,6 @@ wdt_disable(void)
178 176
179 w83697hf_deselect_wdt(); 177 w83697hf_deselect_wdt();
180 spin_unlock(&io_lock); 178 spin_unlock(&io_lock);
181 return 0;
182} 179}
183 180
184static int 181static int