We are using devm_input_allocate_device() that already sets parent
of the input device, there is no need to do that again.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
drivers/input/misc/cpcap-pwrbutton.c | 1 -
1 file changed, 1 deletion(-)
From: Sebastian Reichel <hidden> Date: 2021-10-16 16:03:29
Hi,
On Fri, Oct 15, 2021 at 10:25:58PM -0700, Dmitry Torokhov wrote:
We are using devm_input_allocate_device() that already sets parent
of the input device, there is no need to do that again.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
Reviewed-by: Sebastian Reichel <redacted>
-- Sebastian