diff options
Diffstat (limited to 'drivers/watchdog')
-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 |