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:
c8712a5
)
Input: pxa930_rotary - remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Mon, 6 May 2013 14:36:22 +0000
(07:36 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Wed, 8 May 2013 16:04:57 +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 <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/keyboard/pxa930_rotary.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/pxa930_rotary.c
b/drivers/input/keyboard/pxa930_rotary.c
index bcad95be73aaea053eef65168a9cdcea28a350db..248cdcf952965c616b4de79fca4dfe87f79e38b3 100644
(file)
--- a/
drivers/input/keyboard/pxa930_rotary.c
+++ b/
drivers/input/keyboard/pxa930_rotary.c
@@
-181,7
+181,6
@@
static int pxa930_rotary_remove(struct platform_device *pdev)
free_irq(platform_get_irq(pdev, 0), r);
input_unregister_device(r->input_dev);
iounmap(r->mmio_base);
- platform_set_drvdata(pdev, NULL);
kfree(r);
return 0;