Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 288933c0 authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 268ba5c0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);