[Linux-stm32] [PATCH] Input: stmpe-ts - add missed input_unregister_device

Dmitry Torokhov dmitry.torokhov at gmail.com
Thu May 7 16:01:40 UTC 2020


On Thu, May 07, 2020 at 11:12:13PM +0800, Chuhong Yuan wrote:
> This driver calls input_register_device() in probe, but misses
> input_unregister_device() in remove.
> Add the missed function call to fix it.

The input device in question is devm-managed and therefore does not need
explicit unregistering.

Thanks.

-- 
Dmitry



More information about the Linux-stm32 mailing list