Commit efda86a4 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

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 <aford173@gmail.com> #imx6q-logicpd
Tested-by: Sven Van Asbroeck <TheSven73@gmail.com> # ILI2118A variant
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 43f06a4c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -365,7 +365,6 @@ static int ili210x_i2c_probe(struct i2c_client *client,
	/* Setup input device */
	input->name = "ILI210x Touchscreen";
	input->id.bustype = BUS_I2C;
	input->dev.parent = dev;

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