Re: [PATCH] mwifiex: Use to_delayed_work()

2016-02-17 Thread Julian Calaby
Hi All, On Wed, Feb 17, 2016 at 11:33 PM, Amitoj Kaur Chawla wrote: > 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: > > // > @@ > expression a; > symbo

[PATCH] mwifiex: Use to_delayed_work()

2016-02-17 Thread Amitoj Kaur Chawla
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: // @@ expression a; symbol work; @@ - container_of(a, struct delayed_work, work) + to_delayed_work(a) // Signed-