]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[WATCHDOG] w83697ug: add error checking
authorEric Lammerts <eric@lammerts.org>
Tue, 3 Feb 2009 22:45:56 +0000 (17:45 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 25 Mar 2009 08:57:15 +0000 (08:57 +0000)
commit63bad1452e9087e6f130316c005eb38a8758a267
tree7a6583ed8f9b09535f4efbbc28c2b7b4afe285f9
parent9626dd75c57360666f4cdcb660c1672ee9f952e8
[WATCHDOG] w83697ug: add error checking

I noticed the W83697UG driver tries to register a watchdog even though
it already noticed the chip isn't there.

WDT driver for the Winbond(TM) W83697UG/UF Super I/O chip initialising.
w83697ug/uf WDT: No W83697UG/UF could be found
w83697ug/uf WDT: Watchdog already running. Resetting timeout to 60 sec
w83697ug/uf WDT: cannot register miscdev on minor=130 (err=-16)

Patch propagates the error back to wdt_init().

Signed-off-by: Eric Lammerts <eric@lammerts.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/w83697ug_wdt.c