summaryrefslogtreecommitdiff
path: root/drivers/misc/iwmc3200top/iwmc3200top.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-01 13:42:42 +0300
committerTejun Heo <tj@kernel.org>2011-02-01 13:42:42 +0300
commit51f50f815778b91c699fbcc3aac0dda891a7b795 (patch)
tree8edc17647b7d760e044c83cdcc86d46b4981785d /drivers/misc/iwmc3200top/iwmc3200top.h
parent52286713a9ae1c4c80d521a8990e8c3ba14118f3 (diff)
downloadlinux-51f50f815778b91c699fbcc3aac0dda891a7b795.tar.xz
misc/iwmc3200top: use system_wq instead of dedicated workqueues
With cmwq, there's no reason to use separate workqueues in iwmc3200top. Drop them and use system_wq instead. The used work items are sync flushed before driver detach. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Tomas Winkler <tomas.winkler@intel.com>
Diffstat (limited to 'drivers/misc/iwmc3200top/iwmc3200top.h')
-rw-r--r--drivers/misc/iwmc3200top/iwmc3200top.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/misc/iwmc3200top/iwmc3200top.h b/drivers/misc/iwmc3200top/iwmc3200top.h
index 740ff0738ea8..620973ed8bf9 100644
--- a/drivers/misc/iwmc3200top/iwmc3200top.h
+++ b/drivers/misc/iwmc3200top/iwmc3200top.h
@@ -183,9 +183,7 @@ struct iwmct_priv {
u32 barker;
struct iwmct_dbg dbg;
- /* drivers work queue */
- struct workqueue_struct *wq;
- struct workqueue_struct *bus_rescan_wq;
+ /* drivers work items */
struct work_struct bus_rescan_worker;
struct work_struct isr_worker;