diff options
| author | 2016-02-17 18:03:37 +0530 | |
|---|---|---|
| committer | 2016-03-07 14:20:30 +0200 | |
| commit | 8dd37c7cd442411f52b90e8b556d38324450de46 (patch) | |
| tree | 0e1e43f97eaba1b5aaab896f8903847dfdeb9708 /include/uapi/linux/errqueue.h | |
| parent | brcmfmac: add 802.11w management frame protection support (diff) | |
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 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
