mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
Input: ad7879 - 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 ad7879_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
2bd73a60f4
commit
9c7c99e6d4
|
|
@ -545,7 +545,6 @@ int ad7879_probe(struct device *dev, struct regmap *regmap,
|
|||
|
||||
input_dev->name = "AD7879 Touchscreen";
|
||||
input_dev->phys = ts->phys;
|
||||
input_dev->dev.parent = dev;
|
||||
input_dev->id.bustype = bustype;
|
||||
|
||||
input_dev->open = ad7879_open;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user