From: Axel Lin Date: Fri, 3 Sep 2010 02:52:49 +0000 (-0700) Subject: Input: stmpe-ts - remove input_free_device() in stmpe_ts_remove() X-Git-Tag: v2.6.37-rc1~5^2~3^2~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=843cbfa74f1a443ce0def7fcc799803f34faa71c;p=platform%2Fkernel%2Flinux-3.10.git 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: Axel Lin Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index 656148e..0339d1d 100644 --- a/drivers/input/touchscreen/stmpe-ts.c +++ b/drivers/input/touchscreen/stmpe-ts.c @@ -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);