diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-25 01:37:53 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-25 16:51:40 +0200 |
commit | 288933c02b440621d9c8e7bb5f232cfb7bdef7df (patch) | |
tree | 6b96af07765b142dde0131b629049ac72ba5bfec /drivers | |
parent | Input: mousedev - fix regression of inverting axes (diff) | |
download | linux-288933c02b440621d9c8e7bb5f232cfb7bdef7df.tar.xz linux-288933c02b440621d9c8e7bb5f232cfb7bdef7df.zip |
Input: pxa27x_keypad - remove input_free_device() in pxa27x_keypad_remove()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/pxa27x_keypad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c index 0e53b3bc39af..f32404f99189 100644 --- 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); |