summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-10-07 23:19:57 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-10-09 12:10:33 -0700
commitd081ad39c4cb7da73fdf2a8f3c78712a342f78e4 (patch)
treea861adb4cd79a7ea8a0085a37363a5cc42e65ed2 /drivers/input/touchscreen
parent6deb2aebcc9b049fe81a0b5e77f93c862e73568f (diff)
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 <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/bcm_iproc_tsc.c1
1 files changed, 0 insertions, 1 deletions
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;