From f49a843965576a403c729879c05110d6740793d8 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Wed, 7 Oct 2026 23:20:03 -0700 Subject: [PATCH] Input: sx8654 - 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 sx8654_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/sx8654.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c index 0d92aaeea3e0..7311b5cd573f 100644 --- a/drivers/input/touchscreen/sx8654.c +++ b/drivers/input/touchscreen/sx8654.c @@ -345,7 +345,6 @@ static int sx8654_probe(struct i2c_client *client) input->name = "SX8654 I2C Touchscreen"; input->id.bustype = BUS_I2C; - input->dev.parent = &client->dev; input->open = sx8654_open; input->close = sx8654_close;