mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
Input: colibri-vf50-ts - 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 vf50_ts_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
6fdc2d0a60
commit
137fc97684
|
|
@ -303,7 +303,6 @@ static int vf50_ts_probe(struct platform_device *pdev)
|
|||
|
||||
input->name = DRIVER_NAME;
|
||||
input->id.bustype = BUS_HOST;
|
||||
input->dev.parent = dev;
|
||||
input->open = vf50_ts_open;
|
||||
input->close = vf50_ts_close;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user