summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-10-07 23:20:04 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-10-09 12:10:40 -0700
commit8a1a516e8ee68a0c99bd46eec1cc052637bd4670 (patch)
tree1d2f913597d21650ac03a4e80eeceb27b6108ddf /drivers/input
parent24edf39189e88218a65890ab858a1c39ef2f4a3a (diff)
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/wm97xx-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c
index c51822563f3f..f6b7c03f654f 100644
--- a/drivers/input/touchscreen/wm97xx-core.c
+++ b/drivers/input/touchscreen/wm97xx-core.c
@@ -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)