summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-05 19:38:34 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-05 20:14:41 -0700
commitfdbe0c5356de959e38ba5bbfa2ff09960a51f86b (patch)
tree6559d7a7773e4ed48ed97189450fd220d0323c30 /drivers/input/touchscreen
parent7f1f5d13ef9b9a3af81e2001938bcb377436915d (diff)
downloadop-kernel-dev-fdbe0c5356de959e38ba5bbfa2ff09960a51f86b.zip
op-kernel-dev-fdbe0c5356de959e38ba5bbfa2ff09960a51f86b.tar.gz
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')
-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 8f561e2..ab64d58 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;
}
OpenPOWER on IntegriCloud