Input: edt-ft54x6: Clean up timer and workqueue on remove
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 8 Sep 2021 13:46:17 +0000 (14:46 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:12 +0000 (11:33 +0000)
commit41e66ac343df2a6fae9d79b93a746d2d63247561
tree926c92f4a83a7064f64e3914bda80cb3ae5a4486
parent7d1591e11fa8921e36bfba608805c14b0ec32d8a
Input: edt-ft54x6: Clean up timer and workqueue on remove

If no interrupt is defined then a timer and workqueue are used
to poll the controller.
On remove these were not being cleaned up correctly.

Fixes: ca61fdaba79f "Input: edt-ft5x06: Poll the device if no interrupt is
configured."

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/input/touchscreen/edt-ft5x06.c