Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guenter Roeck and committed by
Dmitry Torokhov
9e85aa69 a196b2c9

-2
-2
drivers/input/misc/mma8450.c
··· 205 205 return err; 206 206 } 207 207 208 - i2c_set_clientdata(c, m); 209 - 210 208 return 0; 211 209 } 212 210