Messages in this thread | | | Date | Tue, 26 Sep 2017 11:33:40 -0700 (PDT) | Subject | Re: [PATCH] net: bcm63xx_enet: Use setup_timer and mod_timer | From | David Miller <> |
| |
From: Himanshu Jha <himanshujha199640@gmail.com> Date: Sun, 24 Sep 2017 17:41:24 +0530
> Use setup_timer and mod_timer API instead of structure assignments. > > This is done using Coccinelle and semantic patch used > for this as follows: > > @@ > expression x,y,z,a,b; > @@ > > -init_timer (&x); > +setup_timer (&x, y, z); > +mod_timer (&a, b); > -x.function = y; > -x.data = z; > -x.expires = b; > -add_timer(&a); > > Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Applied to net-next, thanks.
| |