Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;