From 4404fbc8bfcb7983f86776fe03d40228867f97a1 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Wed, 7 Oct 2026 23:20:01 -0700 Subject: [PATCH] Input: hycon-hy46xx - 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 hycon_hy46xx_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/hycon-hy46xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/hycon-hy46xx.c b/drivers/input/touchscreen/hycon-hy46xx.c index 1513f20cbf51..8ca408d66caf 100644 --- a/drivers/input/touchscreen/hycon-hy46xx.c +++ b/drivers/input/touchscreen/hycon-hy46xx.c @@ -499,7 +499,6 @@ static int hycon_hy46xx_probe(struct i2c_client *client) input->name = "Hycon Capacitive Touch"; input->id.bustype = BUS_I2C; - input->dev.parent = &client->dev; input_set_abs_params(input, ABS_MT_POSITION_X, 0, -1, 0, 0); input_set_abs_params(input, ABS_MT_POSITION_Y, 0, -1, 0, 0);