1
0
Fork 0
alistair23-linux/drivers/isdn/act2000
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
Makefile
act2000.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
act2000_isa.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
act2000_isa.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capi.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
module.c isdn: replace del_timer by del_timer_sync 2014-03-27 15:28:06 -04:00