Tag: 0f1e126b8c50a479a9047654f8ceda5ccfaa0d8a

tty: serial: replace del_timer by del_timer_sync

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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/) // @r@ declarer name module_exit; identifier ex; @@ module_exit(ex); @@ identifier r.ex; @@ ex(…) { } // …

Continue reading