Input: gameport - convert to use common workqueue instead of a thread
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Nov 2010 09:39:57 +0000 (01:39 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 18 Nov 2010 08:25:49 +0000 (00:25 -0800)
commitc44f242064093e640a068741b05ee6acdd49bc22
tree58279c066e644a5da94726f1dc5eb1a7b1e2affe
parent8ee294cd9def0004887da7f44b80563493b0a097
Input: gameport - convert to use common workqueue instead of a thread

Instead of creating an exclusive thread to handle gameport events (which
happen rarely), let's switch to common workqueue. With the arrival
of concurrency-managed workqueue infrastructure we are not concerned
that our callers or callees also using workqueue (no deadlocks anymore)
and it should reduce total number of threads in the system.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/gameport.c