From d081ad39c4cb7da73fdf2a8f3c78712a342f78e4 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Wed, 7 Oct 2026 23:19:57 -0700 Subject: [PATCH] Input: bcm-iproc-tsc - drop redundant idev->dev.parent assignment devm_input_allocate_device() already initializes idev->dev.parent to the supplied parent device, so the explicit assignment in iproc_ts_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/bcm_iproc_tsc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/bcm_iproc_tsc.c b/drivers/input/touchscreen/bcm_iproc_tsc.c index e49bde50d77a..42c27b2ef949 100644 --- a/drivers/input/touchscreen/bcm_iproc_tsc.c +++ b/drivers/input/touchscreen/bcm_iproc_tsc.c @@ -459,7 +459,6 @@ static int iproc_ts_probe(struct platform_device *pdev) /* Set input device info */ idev->name = IPROC_TS_NAME; - idev->dev.parent = &pdev->dev; idev->id.bustype = BUS_HOST; idev->id.vendor = SERIO_UNKNOWN;