Re: [PATCH] Input: s6sy761 - add missed input_unregister_device

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

[PATCH] Input: s6sy761 - 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 probe failure and remove. Add the missed function calls to fix it. Signed-off-by: Chuhong Yuan --- drivers/input/touchscreen/s6sy761.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) di