diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-05 19:38:48 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-05 20:14:45 -0700 |
commit | fb1b1957ae361ce45042e2e388d9c308bce82099 (patch) | |
tree | 42d686ffe3b241b25990a64500325214125b8ffb /drivers/input/touchscreen | |
parent | fdbe0c5356de959e38ba5bbfa2ff09960a51f86b (diff) | |
download | op-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.c | 2 |
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; } |