Re: [PATCH] HID: mcp-2221: cancel delayed_work only when CONFIG_IIO is enabled
From: Jiri Kosina
Date: Fri Apr 12 2024 - 11:49:47 EST
On Tue, 2 Apr 2024, Abdelrahman Morsy wrote:
> 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.
Makes sense, the work is scheduled also only with CONFIG_IIO enabled.
Thanks, applied.
--
Jiri Kosina
SUSE Labs