mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
Input: mma8450 - 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
a196b2c9f5
commit
9e85aa6956
1 changed files with 0 additions and 2 deletions
|
@ -205,8 +205,6 @@ static int mma8450_probe(struct i2c_client *c,
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
i2c_set_clientdata(c, m);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue