watchdog: sb_wdog: release irq and reboot notifier in error path and module_exit()
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 21 Aug 2010 09:27:50 +0000 (18:27 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 15 Sep 2010 18:43:47 +0000 (18:43 +0000)
irq and reboot notifier are acquired in module_init() but never released.
They should be released correctly, otherwise reloading the module or error
during module_init() will cause a problem.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Andrew Sharp <andy.sharp@lsi.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

No differences found