[PATCH] staging: wlan-ng: Use setup_timer
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Sat Mar 7 00:13:17 UTC 2015
On Sun, Feb 08, 2015 at 12:50:45PM +0530, Vaishali Thakkar wrote:
> This patch introduces the use of function setup_timer.
>
> This is done using Coccinelle and semantic patch used is
> as follows:
>
> @@
> expression x,y,z;
> @@
>
> - init_timer (&x);
> + setup_timer (&x, y, z);
> - x.function = y;
> - x.data = z;
>
> Signed-off-by: Vaishali Thakkar <vthakkar1994 at gmail.com>
> ---
> drivers/staging/wlan-ng/hfa384x_usb.c | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)
This is already in my tree :(
More information about the devel
mailing list