Tag: ccb36da19b36a77dce926efeb76de0ab57c00ad5

net: stmmac: 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