summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-05 19:38:48 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-05 20:14:45 -0700
commitfb1b1957ae361ce45042e2e388d9c308bce82099 (patch)
tree42d686ffe3b241b25990a64500325214125b8ffb /drivers/input/touchscreen
parentfdbe0c5356de959e38ba5bbfa2ff09960a51f86b (diff)
downloadop-kernel-dev-fb1b1957ae361ce45042e2e388d9c308bce82099.zip
op-kernel-dev-fb1b1957ae361ce45042e2e388d9c308bce82099.tar.gz
Input: intel-mid-touch - 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/intel-mid-touch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/intel-mid-touch.c b/drivers/input/touchscreen/intel-mid-touch.c
index 465db5db..e30d837 100644
--- a/drivers/input/touchscreen/intel-mid-touch.c
+++ b/drivers/input/touchscreen/intel-mid-touch.c
@@ -651,8 +651,6 @@ static int mrstouch_remove(struct platform_device *pdev)
input_unregister_device(tsdev->input);
kfree(tsdev);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}
OpenPOWER on IntegriCloud