Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae44855a authored by Akinobu Mita's avatar Akinobu Mita Committed by Wim Van Sebroeck
Browse files

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: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Cc: Andrew Sharp <andy.sharp@lsi.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 9c03f162
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment