summaryrefslogtreecommitdiff
path: root/drivers/watchdog/mixcomwd.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-17 18:03:37 +0530
committerKalle Valo <kvalo@codeaurora.org>2016-03-07 14:20:30 +0200
commit8dd37c7cd442411f52b90e8b556d38324450de46 (patch)
tree0e1e43f97eaba1b5aaab896f8903847dfdeb9708 /drivers/watchdog/mixcomwd.c
parent240d61a9ddeb8a77f11369f67f6ef060354b909d (diff)
mwifiex: Use to_delayed_work()
Introduce the use of to_delayed_work() helper function instead of open coding it with container_of() A simplified version of the Coccinelle semantic patch used to make this change is: //<smpl> @@ expression a; symbol work; @@ - container_of(a, struct delayed_work, work) + to_delayed_work(a) //</smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Reviewed-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/watchdog/mixcomwd.c')
0 files changed, 0 insertions, 0 deletions