summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/hid/hid-elo.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/hid/hid-elo.c')
-rw-r--r--kernel/drivers/hid/hid-elo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/hid/hid-elo.c b/kernel/drivers/hid/hid-elo.c
index aad8c162a..0cd4f7216 100644
--- a/kernel/drivers/hid/hid-elo.c
+++ b/kernel/drivers/hid/hid-elo.c
@@ -261,7 +261,7 @@ static void elo_remove(struct hid_device *hdev)
struct elo_priv *priv = hid_get_drvdata(hdev);
hid_hw_stop(hdev);
- flush_workqueue(wq);
+ cancel_delayed_work_sync(&priv->work);
kfree(priv);
}