mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
32237677fb
commit
a8e90be161
1 changed files with 0 additions and 1 deletions
|
|
@ -127,7 +127,6 @@ static int ar1021_i2c_probe(struct i2c_client *client,
|
|||
return error;
|
||||
}
|
||||
|
||||
i2c_set_clientdata(client, ar1021);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue