Input: pxa27x_keypad - remove input_free_device() in pxa27x_keypad_remove()
PATCH 1/1 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 <[email protected]>
--- drivers/input/keyboard/pxa27x_keypad.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/input/keyboard/pxa27x_keypad.c +0 -2
@@ -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 );
Signature · 1 line
1.7.0.4