projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a196b2c
)
Input: mma8450 - drop unnecessary call to i2c_set_clientdata
author
Guenter Roeck
<linux@roeck-us.net>
Wed, 18 Jan 2017 19:41:01 +0000
(11:41 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 18 Jan 2017 19:49:14 +0000
(11:49 -0800)
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>
drivers/input/misc/mma8450.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/mma8450.c
b/drivers/input/misc/mma8450.c
index 19c73574458e8201bc8c36d3b083e241cf1fc841..b60cdea738263073ff300f22ba1f70d787e716ab 100644
(file)
--- 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;
}