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>
This commit is contained in:
Dmitry Torokhov 2026-10-07 23:19:57 -07:00
parent 6deb2aebcc
commit d081ad39c4

View File

@ -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;