Input: wm97xx - remove deprecated create_singletheread_workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Tue, 23 Aug 2016 21:03:03 +0000 (14:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Aug 2016 17:11:30 +0000 (10:11 -0700)
commitc9a3a7cf95d8429c5db0fc98758c21f8fefb38fa
tree28e19954c5b5cc0d7d670dc59bb2cc201524574f
parent62e5147568968e0679ab413c7cb2ef35c8a0a4e3
Input: wm97xx - remove deprecated create_singletheread_workqueue

alloc_ordered_workqueue() replaces deprecated
create_singlethread_workqueue().

It queues work items via &wm->ts_reader and &wm->pen_event_work which map
to wm97xx_pen_irq_worker (handles a pen down interrupt) and
wm97xx_ts_reader (the touchscreen sample reader) respectively. Hence, an
ordered dedicated workqueue has been used.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wm97xx-core.c