aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2019-10-21 20:50:37 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-10-28 21:03:55 -0700
commitb67b6f598c5d6efe58f202b1f95cd0503583b728 (patch)
tree9813272db743c7d95d8d74f44b1895cccee3a009 /drivers/input
parentInput: st1232 - do not allocate fingers data separately (diff)
downloadlinux-dev-b67b6f598c5d6efe58f202b1f95cd0503583b728.tar.xz
linux-dev-b67b6f598c5d6efe58f202b1f95cd0503583b728.zip
Input: st1232 - do not set parent device explicitly
devm_input_allocate_device() already sets parent device for us. Tested-by: Matthias Fend <Matthias.Fend@wolfvision.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/st1232.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c
index dfc0c6cb0213..0aee330731c9 100644
--- a/drivers/input/touchscreen/st1232.c
+++ b/drivers/input/touchscreen/st1232.c
@@ -239,7 +239,6 @@ static int st1232_ts_probe(struct i2c_client *client,
input_dev->name = "st1232-touchscreen";
input_dev->id.bustype = BUS_I2C;
- input_dev->dev.parent = &client->dev;
__set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
__set_bit(EV_SYN, input_dev->evbit);