summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-05-23 13:45:21 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-05-23 13:54:44 -0700
commitb62f97634aa9f61efb8e0935658c758140680c84 (patch)
tree0806eb576659a48ca90ec16f76193ccd1f2ec89c /drivers/input
parentf1222f5ee2c0908a2c537f37174b91ff88cfe987 (diff)
downloadlinux-b62f97634aa9f61efb8e0935658c758140680c84.tar.bz2
Input: iqs5xx - remove redundant dev_set_drvdata call
Calling i2c_set_clientdata() is enough. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Jeff LaBundy <jeff@labundy.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/iqs5xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/iqs5xx.c b/drivers/input/touchscreen/iqs5xx.c
index b832fe062645..158707897c2d 100644
--- a/drivers/input/touchscreen/iqs5xx.c
+++ b/drivers/input/touchscreen/iqs5xx.c
@@ -1054,8 +1054,6 @@ static int iqs5xx_probe(struct i2c_client *client,
if (!iqs5xx)
return -ENOMEM;
- dev_set_drvdata(&client->dev, iqs5xx);
-
i2c_set_clientdata(client, iqs5xx);
iqs5xx->client = client;