mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
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:
parent
6deb2aebcc
commit
d081ad39c4
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user