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/intel-mid-touch.c | |
parent | fdbe0c5356de959e38ba5bbfa2ff09960a51f86b (diff) | |
download | linux-fb1b1957ae361ce45042e2e388d9c308bce82099.tar.bz2 |
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/intel-mid-touch.c')
-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 465db5dba8b4..e30d837dae2f 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; } |