Skip to content
Snippets Groups Projects
Commit a8e90be1 authored by Guenter Roeck's avatar Guenter Roeck Committed by Dmitry Torokhov
Browse files

Input: ar1021_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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 32237677
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,6 @@ static int ar1021_i2c_probe(struct i2c_client *client, ...@@ -127,7 +127,6 @@ static int ar1021_i2c_probe(struct i2c_client *client,
return error; return error;
} }
i2c_set_clientdata(client, ar1021);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment