mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
Input: cyttsp - drop redundant input_dev->dev.parent assignment
devm_input_allocate_device() already initializes input_dev->dev.parent to the supplied parent device, so the explicit assignment in cyttsp_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
137fc97684
commit
83e34e6051
|
|
@ -658,7 +658,6 @@ struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
|
|||
|
||||
input_dev->name = "Cypress TTSP TouchScreen";
|
||||
input_dev->id.bustype = bus_ops->bustype;
|
||||
input_dev->dev.parent = ts->dev;
|
||||
|
||||
input_dev->open = cyttsp_open;
|
||||
input_dev->close = cyttsp_close;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user