summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/da9052_tsi.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 06:38:34 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-06 07:14:41 +0400
commitfdbe0c5356de959e38ba5bbfa2ff09960a51f86b (patch)
tree6559d7a7773e4ed48ed97189450fd220d0323c30 /drivers/input/touchscreen/da9052_tsi.c
parent7f1f5d13ef9b9a3af81e2001938bcb377436915d (diff)
downloadlinux-fdbe0c5356de959e38ba5bbfa2ff09960a51f86b.tar.xz
Input: da9052_tsi - 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/da9052_tsi.c')
-rw-r--r--drivers/input/touchscreen/da9052_tsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/da9052_tsi.c b/drivers/input/touchscreen/da9052_tsi.c
index 8f561e22bdd4..ab64d58c3ac0 100644
--- a/drivers/input/touchscreen/da9052_tsi.c
+++ b/drivers/input/touchscreen/da9052_tsi.c
@@ -329,8 +329,6 @@ static int da9052_ts_remove(struct platform_device *pdev)
input_unregister_device(tsi->dev);
kfree(tsi);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}