aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/ib700wdt.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2008-08-06 16:19:41 -0400
committerWim Van Sebroeck <wim@iguana.be>2008-08-06 16:19:41 -0400
commit7944d3a5a70ee5c1904ed1e8b1d71ff0af2854d9 (patch)
treefe6ec1a557a4b27712266d9d86f791c69e8e2596 /drivers/watchdog/ib700wdt.c
parent12b7a1523eda9cd72362fdda928ddb995ecdc06d (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.c12
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
132static void 132static void ibwdt_ping(void)
133ibwdt_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
143static void 142static void ibwdt_disable(void)
144ibwdt_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
151static int 149static int ibwdt_set_heartbeat(int t)
152ibwdt_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
266static int 263static int ibwdt_close(struct inode *inode, struct file *file)
267ibwdt_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();