commit | f7a2e30246281944064113dafbafe3eb14cd89e3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue Jun 01 21:29:40 2010 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Jun 02 00:11:18 2010 -0700 |
tree | f2cfc0b01334ca058be14550afb001521f3fefe6 | |
parent | fbf89f25fc4dc68ba0857aca87e70fa5d2592d81 [diff] |
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 <error27@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>