diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 04:38:34 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-06 05:14:41 +0200 |
commit | fdbe0c5356de959e38ba5bbfa2ff09960a51f86b (patch) | |
tree | 6559d7a7773e4ed48ed97189450fd220d0323c30 /drivers/input/touchscreen | |
parent | Input: atmel-wm97xx - remove redundant platform_set_drvdata() (diff) | |
download | linux-fdbe0c5356de959e38ba5bbfa2ff09960a51f86b.tar.xz linux-fdbe0c5356de959e38ba5bbfa2ff09960a51f86b.zip |
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.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; } |