inform-reboot: Support unload module with exit function 17/315917/1 accepted/tizen/unified/20241209.090231 accepted/tizen/unified/x/20241218.032549 accepted/tizen/unified/x/asan/20241224.004313
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 6 Dec 2024 06:07:28 +0000 (15:07 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 6 Dec 2024 06:07:35 +0000 (15:07 +0900)
commitab386e312e9b9c7f24e4e18e8af2e4630097de3e
tree47433e2a12df27bd5c50024044c0d07a255d97d7
parent422aacc54593de188df46e666b10a2cb780bab8b
inform-reboot: Support unload module with exit function

Without exit function, reboot notifier is not unregistered,
so unloading is failed with busy error. Add exit function
unregistering reboot notifier to support unload.

Change-Id: Id2fb51f7b6635d0a2bee11ed7ef1bfa96c46ac5c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
kernel/inform-reboot.c