[WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 4
authorWim Van Sebroeck <wim@iguana.be>
Fri, 17 Nov 2006 22:50:06 +0000 (23:50 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 17 Nov 2006 22:50:06 +0000 (23:50 +0100)
a number of small patches:
- include notifier.h include file
- re-arrange prototype functions
- remove =0 initializations
- change printk logging levels to what's used in other drivers
- /dev/watchdog is a VFS so use nonseekable_open
- Style: Instead of "if (constant op function_or_variable)"
  we prefer "if (function_or_variable op constant)"
- arg is a __user pointer
- use MAX_TIMEOUT_SECONDS instead of 32 in WDIOC_SETTIMEOUT

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

No differences found