[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2404121749020.5680@cbobk.fhfr.pm>
Date: Fri, 12 Apr 2024 17:49:35 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Abdelrahman Morsy <abdelrahmanhesham94@...il.com>
cc: linux-input@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, gupt21@...il.com,
benjamin.tissoires@...hat.com
Subject: Re: [PATCH] HID: mcp-2221: cancel delayed_work only when CONFIG_IIO
is enabled
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
Powered by blists - more mailing lists