Commit b62f9763 authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov

Input: iqs5xx - remove redundant dev_set_drvdata call

Calling i2c_set_clientdata() is enough.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarJeff LaBundy <jeff@labundy.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f1222f5e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment