summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-18 14:26:47 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-18 14:29:57 -0800
commitaa6f9222218273cc54ec8d3c91ad8207eef21f99 (patch)
tree8a34dba830d46ab0dd3eb6ac8830127246b4bfe4 /drivers/input/touchscreen
parent8beb7172b428a63634684a8a2bf8754002756056 (diff)
downloadop-kernel-dev-aa6f9222218273cc54ec8d3c91ad8207eef21f99.zip
op-kernel-dev-aa6f9222218273cc54ec8d3c91ad8207eef21f99.tar.gz
Input: sis_i2c - drop unnecessary call to i2c_set_clientdata
There is no call to i2c_get_clientdata() or dev_get_drvdata(). Drop the unnecessary call to i2c_set_clientdata(). Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/sis_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sis_i2c.c b/drivers/input/touchscreen/sis_i2c.c
index 8d93f8c..67c25630 100644
--- a/drivers/input/touchscreen/sis_i2c.c
+++ b/drivers/input/touchscreen/sis_i2c.c
@@ -316,7 +316,6 @@ static int sis_ts_probe(struct i2c_client *client,
return -ENOMEM;
ts->client = client;
- i2c_set_clientdata(client, ts);
ts->attn_gpio = devm_gpiod_get_optional(&client->dev,
"attn", GPIOD_IN);
OpenPOWER on IntegriCloud