[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160307122354.663816074A@smtp.codeaurora.org>
Date: Mon, 7 Mar 2016 12:23:54 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Amitoj Kaur Chawla <amitoj1606@...il.com>
Cc: akarwar@...vell.com, nishants@...vell.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, julia.lawall@...6.fr
Subject: Re: mwifiex: Use to_delayed_work()
> Introduce the use of to_delayed_work() helper function instead of open
> coding it with container_of()
>
> A simplified version of the Coccinelle semantic patch used to make
> this change is:
>
> //<smpl>
> @@
> expression a;
> symbol work;
> @@
> - container_of(a, struct delayed_work, work)
> + to_delayed_work(a)
> //</smpl>
>
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@...il.com>
> Reviewed-by: Julian Calaby <julian.calaby@...il.com>
Thanks, applied to wireless-drivers-next.git.
Kalle Valo
Powered by blists - more mailing lists