[WATCHDOG] sc1200wdt.c pnp unregister fix.
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 28 Oct 2006 18:43:19 +0000 (03:43 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 29 Oct 2006 21:09:32 +0000 (22:09 +0100)
commit150ed8ed63b96d7f93ef7e6081797aa0df2b1abd
treeb5d11ac82e5b1248043f386eca08d65f77ea3be1
parent5fdb51a10f3ab4320c3170b79d66ce34a6e65a67
[WATCHDOG] sc1200wdt.c pnp unregister fix.

If no devices found or invalid parameter is specified,
scl200wdt_pnp_driver is left unregistered.
It breaks global list of pnp drivers.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/char/watchdog/sc1200wdt.c