workqueue: use setup_deferrable_timer
authorGeliang Tang <geliangtang@gmail.com>
Sun, 26 Feb 2017 00:58:21 +0000 (08:58 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 6 Mar 2017 20:42:20 +0000 (15:42 -0500)
commitc30fb26b116e4735597c46ff80cddb582c3c2727
tree06ef8076a3e809614b60b7bc0e454c662f7e82c2
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
workqueue: use setup_deferrable_timer

Use setup_deferrable_timer() instead of init_timer_deferrable() to
simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c