summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib.h
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-12-28 23:43:39 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 20:01:45 -0800
commitbe53a0d53c150dcfe033ccf0cb9a618aed40f4c6 (patch)
tree0cd06073fd127e05ad33ee21cd4fc5e99b361bda /drivers/staging/rtl8192e/rtllib.h
parent3965ae85dbd56ec2eda1ac70eb67d16a9bb9c660 (diff)
staging: rtl8192e: use to_delayed_work
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>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib.h')
-rw-r--r--drivers/staging/rtl8192e/rtllib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 563ac12f0b2c..d99240ea3e46 100644
--- 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)