WSL2-Linux-Kernel/drivers/isdn/sc
Julia Lawall 0c295e44de isdn: replace del_timer by del_timer_sync
Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-27 15:28:06 -04:00
..
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile
card.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
command.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
event.c isdn: use strlcpy() instead strcpy() 2013-12-18 17:53:59 -05:00
hardware.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
includes.h
init.c isdn: replace del_timer by del_timer_sync 2014-03-27 15:28:06 -04:00
interrupt.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ioctl.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
message.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
message.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
packet.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
scioc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
shmem.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
timer.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00