diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-18 22:41:01 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-18 22:49:14 +0300 |
commit | 9e85aa695659407bb7a2b2d5de47be8c335049c0 (patch) | |
tree | 2f8064ab49b3169ea6294a8f3ec660066cca7e61 | |
parent | a196b2c9f5f752e139f91d306fcb471e97723253 (diff) | |
download | linux-9e85aa695659407bb7a2b2d5de47be8c335049c0.tar.xz |
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>
-rw-r--r-- | drivers/input/misc/mma8450.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c index 19c73574458e..b60cdea73826 100644 --- a/drivers/input/misc/mma8450.c +++ b/drivers/input/misc/mma8450.c @@ -205,8 +205,6 @@ static int mma8450_probe(struct i2c_client *c, return err; } - i2c_set_clientdata(c, m); - return 0; } |