Skip to contentSkip to conversation

Input: pxa27x_keypad - remove input_free_device() in pxa27x_keypad_remove()

PATCH New Axel Lin 1 participant 1 message Aug 24, 2010 Input drivers

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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().

---
 drivers/input/keyboard/pxa27x_keypad.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/input/keyboard/pxa27x_keypad.c +0 -2
index 0e53b3b..f32404f 100644
@@ -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