cpufreq: use system_wq instead of dedicated workqueues
authorTejun Heo <tj@kernel.org>
Wed, 26 Jan 2011 11:12:50 +0000 (12:12 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 26 Jan 2011 11:12:50 +0000 (12:12 +0100)
commit57df5573a56322e6895451f759c19e875252817d
treed34ec0be43b4fa29831f949f7be126c78cfba706
parentbcb6d9161d1720cf68c7f4de0630e91cb95ee60c
cpufreq: use system_wq instead of dedicated workqueues

With cmwq, there's no reason for cpufreq drivers to use separate
workqueues.  Remove the dedicated workqueues from cpufreq_conservative
and cpufreq_ondemand and use system_wq instead.  The work items are
already sync canceled on stop, so it's already guaranteed that no work
is running on module exit.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Dave Jones <davej@redhat.com>
Cc: cpufreq@vger.kernel.org
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_ondemand.c