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

Commit 843cbfa7 authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

Input: stmpe-ts - remove input_free_device() in stmpe_ts_remove()



It is forbidden 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 b496acb7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -361,7 +361,6 @@ static int __devexit stmpe_ts_remove(struct platform_device *pdev)
	platform_set_drvdata(pdev, NULL);

	input_unregister_device(ts->idev);
	input_free_device(ts->idev);

	kfree(ts);