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:
ad34b42
)
Input: 88pm860x-ts - remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Mon, 6 May 2013 02:37:43 +0000
(19:37 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Mon, 6 May 2013 03:14:29 +0000
(20:14 -0700)
Commit
0998d06310
(device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/touchscreen/88pm860x-ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/88pm860x-ts.c
b/drivers/input/touchscreen/88pm860x-ts.c
index c7068942ebe8e2237f92b056dff8adeb29f896d3..e8d457266b7185833c0eaf34787a12c9219beb7f 100644
(file)
--- a/
drivers/input/touchscreen/88pm860x-ts.c
+++ b/
drivers/input/touchscreen/88pm860x-ts.c
@@
-299,7
+299,6
@@
static int pm860x_touch_remove(struct platform_device *pdev)
input_unregister_device(touch->idev);
free_irq(touch->irq, touch);
- platform_set_drvdata(pdev, NULL);
kfree(touch);
return 0;
}