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:
7bcbcaa
)
Input: amikbd - remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 6 May 2013 14:23:55 +0000
(07:23 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 8 May 2013 16:04:30 +0000
(09:04 -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 <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/amikbd.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/amikbd.c
b/drivers/input/keyboard/amikbd.c
index ba0b36f7daeafe1ee4f582e1b4fdd31325f9e42a..096d6067ae1f890fce38033e0c4321a55f5e15f4 100644
(file)
--- a/
drivers/input/keyboard/amikbd.c
+++ b/
drivers/input/keyboard/amikbd.c
@@
-246,7
+246,6
@@
static int __exit amikbd_remove(struct platform_device *pdev)
{
struct input_dev *dev = platform_get_drvdata(pdev);
- platform_set_drvdata(pdev, NULL);
free_irq(IRQ_AMIGA_CIAA_SP, dev);
input_unregister_device(dev);
return 0;