mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
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>
This commit is contained in:
parent
d081ad39c4
commit
6fdc2d0a60
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user