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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
43f06a4c63
commit
efda86a495
|
@ -365,7 +365,6 @@ static int ili210x_i2c_probe(struct i2c_client *client,
|
||||||
/* Setup input device */
|
/* Setup input device */
|
||||||
input->name = "ILI210x Touchscreen";
|
input->name = "ILI210x Touchscreen";
|
||||||
input->id.bustype = BUS_I2C;
|
input->id.bustype = BUS_I2C;
|
||||||
input->dev.parent = dev;
|
|
||||||
|
|
||||||
/* Multi touch */
|
/* Multi touch */
|
||||||
input_set_abs_params(input, ABS_MT_POSITION_X, 0, 0xffff, 0, 0);
|
input_set_abs_params(input, ABS_MT_POSITION_X, 0, 0xffff, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue