diff options
Diffstat (limited to 'drivers/input/keyboard/matrix_keypad.c')
-rw-r--r-- | drivers/input/keyboard/matrix_keypad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index 7f12b6579f82..18839cd5f76e 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c | |||
@@ -545,8 +545,6 @@ static int matrix_keypad_remove(struct platform_device *pdev) | |||
545 | { | 545 | { |
546 | struct matrix_keypad *keypad = platform_get_drvdata(pdev); | 546 | struct matrix_keypad *keypad = platform_get_drvdata(pdev); |
547 | 547 | ||
548 | device_init_wakeup(&pdev->dev, 0); | ||
549 | |||
550 | matrix_keypad_free_gpio(keypad); | 548 | matrix_keypad_free_gpio(keypad); |
551 | input_unregister_device(keypad->input_dev); | 549 | input_unregister_device(keypad->input_dev); |
552 | kfree(keypad); | 550 | kfree(keypad); |