staging: unisys: visornic: don't destroy global workqueues until devs destroyed
authorTim Sell <Timothy.Sell@unisys.com>
Thu, 9 Jul 2015 17:27:49 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 01:34:59 +0000 (18:34 -0700)
commit3798ff31d1fb1ee33de619ffc81a6a56c3ccb973
treecea6198b9684781471ff10a3a3c2e5201359e4de
parent46df82267eb26f4f6859e1564dbc9580f57dc542
staging: unisys: visornic: don't destroy global workqueues until devs destroyed

visornic_cleanup() was previously incorrectly destroying its global
workqueues prior to cleaning up the devices which used them.  This patch
corrects the order of these operations.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c