Re: [PATCH] Input: wm831x-ts - add missed input_unregister_device

2020-05-07 Thread Dmitry Torokhov
On Thu, May 07, 2020 at 11:12:59PM +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

Re: [PATCH] Input: wm831x-ts - add missed input_unregister_device

2020-05-07 Thread Charles Keepax
On Thu, May 07, 2020 at 11:12:59PM +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. > > Signed-off-by: Chuhong Yuan > --- > drivers/input/touchscreen/wm831x-ts.c | 1 + >

[PATCH] Input: wm831x-ts - add missed input_unregister_device

2020-05-07 Thread Chuhong Yuan
This driver calls input_register_device() in probe, but misses input_unregister_device() in remove. Add the missed function call to fix it. Signed-off-by: Chuhong Yuan --- drivers/input/touchscreen/wm831x-ts.c | 1 + 1 file changed, 1 insertion(+) diff --git