diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 06:38:34 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-06 07:14:41 +0400 |
commit | fdbe0c5356de959e38ba5bbfa2ff09960a51f86b (patch) | |
tree | 6559d7a7773e4ed48ed97189450fd220d0323c30 /drivers/input/touchscreen/da9052_tsi.c | |
parent | 7f1f5d13ef9b9a3af81e2001938bcb377436915d (diff) | |
download | linux-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.c | 2 |
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; } |