projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6138341
)
wl1251: use to_delayed_work()
author
Geliang Tang
<geliangtang@163.com>
Fri, 18 Mar 2016 02:22:03 +0000
(13:22 +1100)
committer
Kalle Valo
<kvalo@codeaurora.org>
Thu, 7 Apr 2016 16:37:37 +0000
(19:37 +0300)
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>
drivers/net/wireless/ti/wl1251/ps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ti/wl1251/ps.c
b/drivers/net/wireless/ti/wl1251/ps.c
index b9e27b98bbc928ac2c7eb7dd9e48053c87ef60bf..fa01b0a0f312abd20092478e6aa768997f326d26 100644
(file)
--- 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");