diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2008-08-06 16:19:41 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-08-06 16:19:41 -0400 |
commit | 7944d3a5a70ee5c1904ed1e8b1d71ff0af2854d9 (patch) | |
tree | fe6ec1a557a4b27712266d9d86f791c69e8e2596 /drivers/watchdog/ib700wdt.c | |
parent | 12b7a1523eda9cd72362fdda928ddb995ecdc06d (diff) |
[WATCHDOG] more coding style clean-up's
More coding style clean-up's.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/ib700wdt.c')
-rw-r--r-- | drivers/watchdog/ib700wdt.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/watchdog/ib700wdt.c b/drivers/watchdog/ib700wdt.c index 6aa914e5caf5..05a28106e8eb 100644 --- a/drivers/watchdog/ib700wdt.c +++ b/drivers/watchdog/ib700wdt.c | |||
@@ -129,8 +129,7 @@ MODULE_PARM_DESC(nowayout, | |||
129 | * Watchdog Operations | 129 | * Watchdog Operations |
130 | */ | 130 | */ |
131 | 131 | ||
132 | static void | 132 | static void ibwdt_ping(void) |
133 | ibwdt_ping(void) | ||
134 | { | 133 | { |
135 | spin_lock(&ibwdt_lock); | 134 | spin_lock(&ibwdt_lock); |
136 | 135 | ||
@@ -140,16 +139,14 @@ ibwdt_ping(void) | |||
140 | spin_unlock(&ibwdt_lock); | 139 | spin_unlock(&ibwdt_lock); |
141 | } | 140 | } |
142 | 141 | ||
143 | static void | 142 | static void ibwdt_disable(void) |
144 | ibwdt_disable(void) | ||
145 | { | 143 | { |
146 | spin_lock(&ibwdt_lock); | 144 | spin_lock(&ibwdt_lock); |
147 | outb_p(0, WDT_STOP); | 145 | outb_p(0, WDT_STOP); |
148 | spin_unlock(&ibwdt_lock); | 146 | spin_unlock(&ibwdt_lock); |
149 | } | 147 | } |
150 | 148 | ||
151 | static int | 149 | static int ibwdt_set_heartbeat(int t) |
152 | ibwdt_set_heartbeat(int t) | ||
153 | { | 150 | { |
154 | int i; | 151 | int i; |
155 | 152 | ||
@@ -263,8 +260,7 @@ static int ibwdt_open(struct inode *inode, struct file *file) | |||
263 | return nonseekable_open(inode, file); | 260 | return nonseekable_open(inode, file); |
264 | } | 261 | } |
265 | 262 | ||
266 | static int | 263 | static int ibwdt_close(struct inode *inode, struct file *file) |
267 | ibwdt_close(struct inode *inode, struct file *file) | ||
268 | { | 264 | { |
269 | if (expect_close == 42) { | 265 | if (expect_close == 42) { |
270 | ibwdt_disable(); | 266 | ibwdt_disable(); |