aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/wm831x-ts.c
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/touchscreen/wm831x-ts.c
parentInput: as5011 - use C99-style structure initializators (diff)
downloadlinux-dev-2f7badb9742f88e7307d9e823f40c8621ceaa1c4.tar.xz
linux-dev-2f7badb9742f88e7307d9e823f40c8621ceaa1c4.zip
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)
input_unregister_device(wm831x_ts->input_dev);
kfree(wm831x_ts);
- platform_set_drvdata(pdev, NULL);
return 0;
}