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:
268ba5c
)
Input: pxa27x_keypad - remove input_free_device() in pxa27x_keypad_remove()
author
Axel Lin
<axel.lin@gmail.com>
Tue, 24 Aug 2010 23:37:53 +0000
(16:37 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 25 Aug 2010 14:51:40 +0000
(07:51 -0700)
No need to call input_free_device() after input_unregister_device().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/pxa27x_keypad.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/pxa27x_keypad.c
b/drivers/input/keyboard/pxa27x_keypad.c
index 0e53b3bc39afe4d7925d4aec0cea66174dfc1e5e..f32404f991893ef4584ab5540d213945cbb0c738 100644
(file)
--- a/
drivers/input/keyboard/pxa27x_keypad.c
+++ b/
drivers/input/keyboard/pxa27x_keypad.c
@@
-567,8
+567,6
@@
static int __devexit pxa27x_keypad_remove(struct platform_device *pdev)
clk_put(keypad->clk);
input_unregister_device(keypad->input_dev);
- input_free_device(keypad->input_dev);
-
iounmap(keypad->mmio_base);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);