[WATCHDOG] improve machzwd detection
authorDave Jones <davej@redhat.com>
Tue, 1 Aug 2006 18:06:43 +0000 (20:06 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 2 Oct 2006 21:14:38 +0000 (23:14 +0200)
commit11dc10195aed0636d9a60907594b349424b933a7
tree81422a8b5e443eddc30ab67806d4442bdc032cff
parent795b89d207d8ff5397f9ff1f4d44662aa7c821fc
[WATCHDOG] improve machzwd detection

On a machine with no machzwd, loading the module prints out..

machzwd: MachZ ZF-Logic Watchdog driver initializing.
0xffff
machzwd: Watchdog using action = RESET

- the 0xffff printk is unnecessary
- 0xffff seems to be 'hardware not present'
- fix CodingStyle. (This driver could use some more work here)

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/char/watchdog/machzwd.c