From 64159a032ae7016323bd07540e1a804cafca6853 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Wed, 7 Oct 2026 23:19:47 -0700 Subject: [PATCH] Input: stmpe-keypad - drop redundant input->dev.parent assignment devm_input_allocate_device() already initializes input->dev.parent to the supplied parent device, so the explicit assignment in stmpe_keypad_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/stmpe-keypad.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/keyboard/stmpe-keypad.c b/drivers/input/keyboard/stmpe-keypad.c index 0acded4fb9c9..bc5d0217be5c 100644 --- a/drivers/input/keyboard/stmpe-keypad.c +++ b/drivers/input/keyboard/stmpe-keypad.c @@ -361,7 +361,6 @@ static int stmpe_keypad_probe(struct platform_device *pdev) input->name = "STMPE keypad"; input->id.bustype = BUS_I2C; - input->dev.parent = &pdev->dev; error = matrix_keypad_parse_properties(&pdev->dev, &rows, &cols); if (error) -- knotmirror 0.0.1