diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2008-03-12 09:28:01 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-05-25 05:00:47 -0400 |
commit | 03315adca76ee93128e4d92566d1f18a1a937e79 (patch) | |
tree | 4831b8add867de204611382dd5e56daf0730f7ca /drivers/watchdog/w83697hf_wdt.c | |
parent | eb90d81d03c0917b0fd629f6342554a3b58ea52c (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.c | 9 |
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 | ||
143 | static int | 143 | static void |
144 | wdt_ping(void) | 144 | wdt_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 | ||
156 | static int | 155 | static void |
157 | wdt_enable(void) | 156 | wdt_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 | ||
170 | static int | 168 | static void |
171 | wdt_disable(void) | 169 | wdt_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 | ||
184 | static int | 181 | static int |