Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1162f02 authored by Geliang Tang's avatar Geliang Tang Committed by Kalle Valo
Browse files

wl1251: use to_delayed_work()



Use to_delayed_work() instead of open-coding it.

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
[Update commit message]
Signed-off-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 61383412
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");