summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-11 00:42:24 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-11 00:48:58 -0700
commit2f7badb9742f88e7307d9e823f40c8621ceaa1c4 (patch)
treea3de084999e64ea4c761b475f443c972d02e3772 /drivers/input
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')
-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 e83410721e3..ac667e469b3 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)
input_unregister_device(wm831x_ts->input_dev);
kfree(wm831x_ts);
- platform_set_drvdata(pdev, NULL);
return 0;
}