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:
5629937
)
Input: qt1070 - remove obsolete cleanup for clientdata
author
Wolfram Sang
<
[email protected]
>
Tue, 21 Jun 2011 11:20:57 +0000
(
04:20
-0700)
committer
Dmitry Torokhov
<
[email protected]
>
Tue, 21 Jun 2011 11:31:53 +0000
(
04:31
-0700)
A few new i2c-drivers came into the kernel which clear the clientdata
pointer on exit or error. This is not required anymore since the core
will do it for us.
Signed-off-by: Wolfram Sang <
[email protected]
>
Acked-by: Jean Delvare <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/keyboard/qt1070.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/qt1070.c
b/drivers/input/keyboard/qt1070.c
index ca7b89196ab79a4ceee7b05ebe2ce65044c055b3..b21bf5b876bb8763037646442d3aa33d1ec85d66 100644
(file)
--- a/
drivers/input/keyboard/qt1070.c
+++ b/
drivers/input/keyboard/qt1070.c
@@
-239,8
+239,6
@@
static int __devexit qt1070_remove(struct i2c_client *client)
input_unregister_device(data->input);
kfree(data);
- i2c_set_clientdata(client, NULL);
-
return 0;
}