Skip to content

Commit efda86a

Browse files
committed
Input: ili210x - do not set parent device explicitly
We are using devm_input_allocate_device() that set's up the parent for us, no need to do it ourselves. Tested-by: Adam Ford <[email protected]> #imx6q-logicpd Tested-by: Sven Van Asbroeck <[email protected]> # ILI2118A variant Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 43f06a4 commit efda86a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/input/touchscreen/ili210x.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ static int ili210x_i2c_probe(struct i2c_client *client,
365365
/* Setup input device */
366366
input->name = "ILI210x Touchscreen";
367367
input->id.bustype = BUS_I2C;
368-
input->dev.parent = dev;
369368

370369
/* Multi touch */
371370
input_set_abs_params(input, ABS_MT_POSITION_X, 0, 0xffff, 0, 0);

0 commit comments

Comments
 (0)