2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 08:04:13 +08:00
linux-next/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
..
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 isdn/sc: remove unused REQUEST_IRQ and unnecessary header file 2007-10-19 11:53:34 -07:00
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
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile
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