Input: wm97xx - drop redundant wm->input_dev->dev.parent assignment

devm_input_allocate_device() already initializes
wm->input_dev->dev.parent to the supplied parent device, so the explicit
assignment in wm97xx_register_touch() 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:20:04 -07:00
parent 24edf39189
commit 8a1a516e8e

View File

@ -567,7 +567,6 @@ static int wm97xx_register_touch(struct wm97xx *wm)
abs_p[2], 0);
input_set_drvdata(wm->input_dev, wm);
wm->input_dev->dev.parent = wm->dev;
ret = input_register_device(wm->input_dev);
if (ret)