diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-10-07 23:19:57 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-10-09 12:10:32 -0700 |
| commit | 6deb2aebcc9b049fe81a0b5e77f93c862e73568f (patch) | |
| tree | 41f7330b775a01873cf96d273ab10086ac8042c5 /drivers/input | |
| parent | 9c7c99e6d477ef06d41550df15be7d40d52b5272 (diff) | |
Input: ar1021-i2c - drop redundant input->dev.parent assignment
devm_input_allocate_device() already initializes input->dev.parent to
the supplied parent device, so the explicit assignment in
ar1021_i2c_probe() is redundant. Remove it.
Assisted-by: LLM
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
| -rw-r--r-- | drivers/input/touchscreen/ar1021_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c index aa43fc1549df..a56b114bcb36 100644 --- a/drivers/input/touchscreen/ar1021_i2c.c +++ b/drivers/input/touchscreen/ar1021_i2c.c @@ -111,7 +111,6 @@ static int ar1021_i2c_probe(struct i2c_client *client) input->name = "ar1021 I2C Touchscreen"; input->id.bustype = BUS_I2C; - input->dev.parent = &client->dev; input->open = ar1021_i2c_open; input->close = ar1021_i2c_close; |
