diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2010-08-21 18:27:50 +0900 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2010-09-15 18:43:47 +0000 |
commit | ae44855ae8b36e4194a0a43eec6351e81f880955 (patch) | |
tree | 2d47175a0562b8ea838ed98186a6b8e3fb5e14d1 /drivers/watchdog/riowd.c | |
parent | 9c03f1622af051004416dd3e24d8a0fa31e34178 (diff) |
watchdog: sb_wdog: release irq and reboot notifier in error path and module_exit()
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>
Diffstat (limited to 'drivers/watchdog/riowd.c')
0 files changed, 0 insertions, 0 deletions