aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/wm831x-ts.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-11 03:42:24 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-11 03:48:58 -0400
commit2f7badb9742f88e7307d9e823f40c8621ceaa1c4 (patch)
treea3de084999e64ea4c761b475f443c972d02e3772 /drivers/input/touchscreen/wm831x-ts.c
parent24e491c21b4e214a980a5daf2a5bc80e8c410ce6 (diff)
Input: wm831x-ts - remove unneeded clearing of driver data
This is unneeded, only a bound driver can use driver data and a driver relying on the state prior to probe() is buggy. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/wm831x-ts.c')
-rw-r--r--drivers/input/touchscreen/wm831x-ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wm831x-ts.c b/drivers/input/touchscreen/wm831x-ts.c
index e83410721e38..ac667e469b35 100644
--- a/drivers/input/touchscreen/wm831x-ts.c
+++ b/drivers/input/touchscreen/wm831x-ts.c
@@ -390,7 +390,6 @@ static __devexit int wm831x_ts_remove(struct platform_device *pdev)
390 input_unregister_device(wm831x_ts->input_dev); 390 input_unregister_device(wm831x_ts->input_dev);
391 kfree(wm831x_ts); 391 kfree(wm831x_ts);
392 392
393 platform_set_drvdata(pdev, NULL);
394 return 0; 393 return 0;
395} 394}
396 395