diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-02-17 15:33:37 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-03-07 15:20:30 +0300 |
commit | 8dd37c7cd442411f52b90e8b556d38324450de46 (patch) | |
tree | 0e1e43f97eaba1b5aaab896f8903847dfdeb9708 /drivers/net/wireless/atmel/at76c50x-usb.c | |
parent | 240d61a9ddeb8a77f11369f67f6ef060354b909d (diff) | |
download | linux-8dd37c7cd442411f52b90e8b556d38324450de46.tar.xz |
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@gmail.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/atmel/at76c50x-usb.c')
0 files changed, 0 insertions, 0 deletions