Skip to content

Commit

Permalink
Input: pxa27x_keypad - remove input_free_device() in pxa27x_keypad_re…
Browse files Browse the repository at this point in the history
…move()

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>
  • Loading branch information
Axel Lin authored and Dmitry Torokhov committed Aug 25, 2010
1 parent 268ba5c commit 288933c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/input/keyboard/pxa27x_keypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 288933c

Please sign in to comment.