summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 14:40:39 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-08 16:04:16 (GMT)
commit7bcbcaa584f9c1723f26413f585a34303e918caa (patch)
treeac9ba579436c186bd1e474103a720b162cd92c7a /drivers/input/touchscreen
parent3e056a38894481e278b8d504cf7ffc8a64d5e9e0 (diff)
downloadlinux-fsl-qoriq-7bcbcaa584f9c1723f26413f585a34303e918caa.tar.xz
Input: w90p910_ts - remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/w90p910_ts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c
index d2ef8f0..003d0c3 100644
--- a/drivers/input/touchscreen/w90p910_ts.c
+++ b/drivers/input/touchscreen/w90p910_ts.c
@@ -318,8 +318,6 @@ static int w90x900ts_remove(struct platform_device *pdev)
input_unregister_device(w90p910_ts->input);
kfree(w90p910_ts);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}