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/eurotechwdt.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/eurotechwdt.c')
-rw-r--r-- | drivers/watchdog/eurotechwdt.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/watchdog/eurotechwdt.c b/drivers/watchdog/eurotechwdt.c index 96250118fd7..bbd14e34319 100644 --- a/drivers/watchdog/eurotechwdt.c +++ b/drivers/watchdog/eurotechwdt.c | |||
@@ -210,7 +210,7 @@ size_t count, loff_t *ppos) | |||
210 | 210 | ||
211 | for (i = 0; i != count; i++) { | 211 | for (i = 0; i != count; i++) { |
212 | char c; | 212 | char c; |
213 | if (get_user(c, buf+i)) | 213 | if (get_user(c, buf + i)) |
214 | return -EFAULT; | 214 | return -EFAULT; |
215 | if (c == 'V') | 215 | if (c == 'V') |
216 | eur_expect_close = 42; | 216 | eur_expect_close = 42; |
@@ -360,10 +360,8 @@ static int eurwdt_release(struct inode *inode, struct file *file) | |||
360 | static int eurwdt_notify_sys(struct notifier_block *this, unsigned long code, | 360 | static int eurwdt_notify_sys(struct notifier_block *this, unsigned long code, |
361 | void *unused) | 361 | void *unused) |
362 | { | 362 | { |
363 | if (code == SYS_DOWN || code == SYS_HALT) { | 363 | if (code == SYS_DOWN || code == SYS_HALT) |
364 | /* Turn the card off */ | 364 | eurwdt_disable_timer(); /* Turn the card off */ |
365 | eurwdt_disable_timer(); | ||
366 | } | ||
367 | 365 | ||
368 | return NOTIFY_DONE; | 366 | return NOTIFY_DONE; |
369 | } | 367 | } |