From eb78f815f603c80f033845c5d0e30a4f11a92c17 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Wed, 7 Oct 2026 23:20:00 -0700 Subject: [PATCH] Input: edt-ft5x06 - 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 edt_ft5x06_ts_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/edt-ft5x06.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index d3b1177185a3..00f616e913f9 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c @@ -1290,7 +1290,6 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client) input->name = tsdata->name; input->id.bustype = BUS_I2C; - input->dev.parent = &client->dev; input_set_abs_params(input, ABS_MT_POSITION_X, 0, tsdata->num_x * 64 - 1, 0, 0);