mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
Input: da9034-ts - 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 da9034_touch_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
83e34e6051
commit
238c76c9a6
|
|
@ -330,7 +330,6 @@ static int da9034_touch_probe(struct platform_device *pdev)
|
|||
input_dev->name = pdev->name;
|
||||
input_dev->open = da9034_touch_open;
|
||||
input_dev->close = da9034_touch_close;
|
||||
input_dev->dev.parent = &pdev->dev;
|
||||
|
||||
__set_bit(EV_ABS, input_dev->evbit);
|
||||
__set_bit(ABS_X, input_dev->absbit);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user