aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-10-07 23:11:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-10-09 12:10:13 -0700
commita9cf50a1cdfa4db0f458e63c1a71bd9cde3d22fd (patch)
treebcfd134be9cfe311ff95be79c9db193a6e6b27bc /drivers/input/touchscreen
parentb37d23791fe52eb457753eb5ecaa5361b2d64189 (diff)
Input: 88pm860x-ts - drop redundant idev->dev.parent assignment
devm_input_allocate_device() already initializes idev->dev.parent to the supplied parent device, so the explicit assignment in pm860x_touch_probe() is redundant. Remove it. Assisted-by: LLM Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/88pm860x-ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/88pm860x-ts.c b/drivers/input/touchscreen/88pm860x-ts.c
index 0468ce2b216f..dd545a719019 100644
--- a/drivers/input/touchscreen/88pm860x-ts.c
+++ b/drivers/input/touchscreen/88pm860x-ts.c
@@ -246,7 +246,6 @@ static int pm860x_touch_probe(struct platform_device *pdev)
touch->idev->name = "88pm860x-touch";
touch->idev->phys = "88pm860x/input0";
touch->idev->id.bustype = BUS_I2C;
- touch->idev->dev.parent = &pdev->dev;
touch->idev->open = pm860x_touch_open;
touch->idev->close = pm860x_touch_close;
touch->chip = chip;