diff options
author | Dan Carpenter <error27@gmail.com> | 2010-06-01 21:29:40 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-06-02 00:11:18 -0700 |
commit | f7a2e30246281944064113dafbafe3eb14cd89e3 (patch) | |
tree | f2cfc0b01334ca058be14550afb001521f3fefe6 /drivers/memstick | |
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>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions