diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-05 22:42:04 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-05 23:15:07 -0400 |
commit | 8be2d66b48c8831b70556e5291e5ad5a8fa8c5a5 (patch) | |
tree | a68bc9db22120db4dcfb0a417b45c4487f790dad /drivers/input/serio | |
parent | 690351d63589caa7d5b38d6b5e0b71a037ed77c0 (diff) |
Input: at32psif - 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>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio')
-rw-r--r-- | drivers/input/serio/at32psif.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/serio/at32psif.c b/drivers/input/serio/at32psif.c index 190ce35af7df..3290b287ac4b 100644 --- a/drivers/input/serio/at32psif.c +++ b/drivers/input/serio/at32psif.c | |||
@@ -314,8 +314,6 @@ static int __exit psif_remove(struct platform_device *pdev) | |||
314 | clk_put(psif->pclk); | 314 | clk_put(psif->pclk); |
315 | kfree(psif); | 315 | kfree(psif); |
316 | 316 | ||
317 | platform_set_drvdata(pdev, NULL); | ||
318 | |||
319 | return 0; | 317 | return 0; |
320 | } | 318 | } |
321 | 319 | ||