diff options
author | Abdelrahman Morsy <abdelrahmanhesham94@gmail.com> | 2024-04-02 15:14:06 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-04-12 18:48:53 +0300 |
commit | 3cba9cfcc1520a2307a29f6fab887bcfc121c417 (patch) | |
tree | 2236964a86b0ff73847072895610bf61f5ba7ee4 /block | |
parent | 21f28a7eb78dea6c59be6b0a5e0b47bf3d25fcbb (diff) | |
download | linux-3cba9cfcc1520a2307a29f6fab887bcfc121c417.tar.xz |
HID: mcp-2221: cancel delayed_work only when CONFIG_IIO is enabled
If the device is unplugged and CONFIG_IIO is not supported, this will
result in a warning message at kernel/workqueue.
Only cancel delayed work in mcp2221_remove(), when CONFIG_IIO is enabled.
Signed-off-by: Abdelrahman Morsy <abdelrahmanhesham94@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions