diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-10-07 23:19:58 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-10-09 12:10:34 -0700 |
| commit | 6fdc2d0a60cf305024d936261eb3e39e44d285f7 (patch) | |
| tree | 7106317152948c6b6b094daab17bc67ece57dece /drivers/input | |
| parent | d081ad39c4cb7da73fdf2a8f3c78712a342f78e4 (diff) | |
Input: chipone-icn8318 - 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
icn8318_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/chipone_icn8318.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/chipone_icn8318.c b/drivers/input/touchscreen/chipone_icn8318.c index 1b10a757313c..03b62706e39f 100644 --- a/drivers/input/touchscreen/chipone_icn8318.c +++ b/drivers/input/touchscreen/chipone_icn8318.c @@ -202,7 +202,6 @@ static int icn8318_probe(struct i2c_client *client) input->id.bustype = BUS_I2C; input->open = icn8318_start; input->close = icn8318_stop; - input->dev.parent = dev; input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); |
