Tag: 187d67858bafd16334d150b0fa7cff1f5814c6fb

net: pasemi: Use setup_timer and mod_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> Use timer API functions setup_timer and mod_timer instead of structure assignments as they are standard way to set the timer and to update the expire field of an active timer respectively. This is done using Coccinelle and semantic patch used for this is as follows: // @@ expression x,y,z,a,b; @@ -init_timer …

Continue reading