workqueue: clean up delayed_work initializers and add missing one
authorTejun Heo <tj@kernel.org>
Tue, 21 Aug 2012 20:18:23 +0000 (13:18 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 21 Aug 2012 20:18:23 +0000 (13:18 -0700)
commitf991b318cc6627a493b0d317a565bb7c3271f36b
tree1ba31eac2292d74837b8319687be8eb64a431a94
parent203b42f7317494ae5e5efc7be6fb7f29c927f102
workqueue: clean up delayed_work initializers and add missing one

Reimplement delayed_work initializers using new timer initializers
which take timer flags.  This reduces code duplications and will ease
further initializer changes.  This patch also adds a missing
initializer - INIT_DEFERRABLE_WORK_ONSTACK().

Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/workqueue.h