projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3965ae8
)
staging: rtl8192e: use to_delayed_work
author
Geliang Tang
<geliangtang@163.com>
Mon, 28 Dec 2015 15:43:39 +0000
(23:43 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 04:01:45 +0000
(20:01 -0800)
Use to_delayed_work() instead of open-coding it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192e/rtllib.h
b/drivers/staging/rtl8192e/rtllib.h
index 563ac12f0b2c387d5d10de385e8af9324762fad0..d99240ea3e461cc2079a358bd91d91f51f56eeb9 100644
(file)
--- a/
drivers/staging/rtl8192e/rtllib.h
+++ b/
drivers/staging/rtl8192e/rtllib.h
@@
-76,7
+76,7
@@
#define container_of_work_rsl(x, y, z) container_of(x, y, z)
#define container_of_dwork_rsl(x, y, z) \
- container_of(
container_of(x, struct delayed_work, work
), y, z)
+ container_of(
to_delayed_work(x
), y, z)
#define iwe_stream_add_event_rsl(info, start, stop, iwe, len) \
iwe_stream_add_event(info, start, stop, iwe, len)