diff options
author | Geliang Tang <geliangtang@163.com> | 2016-03-18 05:22:03 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-04-07 19:37:37 +0300 |
commit | d1162f0283f0b4421d1098dd048a5e3cf8b2abb6 (patch) | |
tree | 4722f234c06402bb6886a3f1003fe1a4d7631dc1 /drivers/net/wireless/ti | |
parent | 61383412f00d5917a28f388c59ebd78cf7c9d909 (diff) | |
download | linux-d1162f0283f0b4421d1098dd048a5e3cf8b2abb6.tar.xz |
wl1251: use to_delayed_work()
Use to_delayed_work() instead of open-coding it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
[Update commit message]
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r-- | drivers/net/wireless/ti/wl1251/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wl1251/ps.c b/drivers/net/wireless/ti/wl1251/ps.c index b9e27b98bbc9..fa01b0a0f312 100644 --- a/drivers/net/wireless/ti/wl1251/ps.c +++ b/drivers/net/wireless/ti/wl1251/ps.c @@ -32,7 +32,7 @@ void wl1251_elp_work(struct work_struct *work) struct delayed_work *dwork; struct wl1251 *wl; - dwork = container_of(work, struct delayed_work, work); + dwork = to_delayed_work(work); wl = container_of(dwork, struct wl1251, elp_work); wl1251_debug(DEBUG_PSM, "elp work"); |