From 8a1a516e8ee68a0c99bd46eec1cc052637bd4670 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Wed, 7 Oct 2026 23:20:04 -0700 Subject: 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 --- drivers/input/touchscreen/wm97xx-core.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/input') 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) -- cgit v1.2.3