OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8beb717
)
Input: sis_i2c - drop unnecessary call to i2c_set_clientdata
author
Guenter Roeck
<linux@roeck-us.net>
Wed, 18 Jan 2017 22:26:47 +0000
(14:26 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 18 Jan 2017 22:29:57 +0000
(14:29 -0800)
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>
drivers/input/touchscreen/sis_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/sis_i2c.c
b/drivers/input/touchscreen/sis_i2c.c
index
8d93f8c
..
67c2563
100644
(file)
--- 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);