projects
/
cascardo
/
kernel
/
samples
/
char2
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Delete timer in exit.
[cascardo/kernel/samples/char2/.git]
/
hellochar.c
diff --git
a/hellochar.c
b/hellochar.c
index
938b32f
..
b5cae85
100644
(file)
--- a/
hellochar.c
+++ b/
hellochar.c
@@
-100,6
+100,7
@@
reg_out:
static void __exit ch_exit(void)
{
+ del_timer_sync(&hello_timer);
cdev_del(dev);
unregister_chrdev_region(devnum, 256);
}