[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)
commitd5d06ff7f181c06ef8c94b353ae3fef8f06b3085
tree9796950ef00c12e2acb02faa29552d549d586277
parent414a675964e5636b53b37827b646138f166507d3
[WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 4

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>
drivers/char/watchdog/rm9k_wdt.c