From: Dan Carpenter Date: Wed, 2 Jun 2010 04:29:40 +0000 (-0700) Subject: Input: tps6507x-ts - a couple work queue cleanups X-Git-Tag: v2.6.35-rc2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7a2e30246281944064113dafbafe3eb14cd89e3;p=pandora-kernel.git Input: tps6507x-ts - a couple work queue cleanups 1) Use msecs_to_jiffies() instead of calculating by hand. 2) Call cancel_delayed_work_sync() instead of cancel_delayed_work() followed by a separate flush_workqueue(). 3) Remove the "tsc->wq = 0;" Sparse complains about that because tsc->wq is a pointer, not an int. It's not needed because we just free the pointer anyway. Signed-off-by: Dan Carpenter Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed