[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200507160113.GG89269@dtor-ws>
Date: Thu, 7 May 2020 09:01:13 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Chuhong Yuan <hslester96@...il.com>
Cc: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
linux-input@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: stmfts - add missed input_unregister_device
On Thu, May 07, 2020 at 11:11:47PM +0800, Chuhong Yuan wrote:
> This driver calls input_register_device() in probe, but misses
> input_unregister_device() in probe failure and remove.
> Add the missed function calls to fix it.
The input device in question is devm-managed and therefore does not need
explicit unregistering.
Thanks.
--
Dmitry
Powered by blists - more mailing lists