summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-11 07:42:24 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-11 07:48:58 (GMT)
commit2f7badb9742f88e7307d9e823f40c8621ceaa1c4 (patch)
treea3de084999e64ea4c761b475f443c972d02e3772 /drivers/input/touchscreen
parent24e491c21b4e214a980a5daf2a5bc80e8c410ce6 (diff)
downloadlinux-fsl-qoriq-2f7badb9742f88e7307d9e823f40c8621ceaa1c4.tar.xz
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')
-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 e834107..ac667e4 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;
}