mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
24edf39189
commit
8a1a516e8e
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user