summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 04:42:04 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-06 05:15:07 +0200
commit8be2d66b48c8831b70556e5291e5ad5a8fa8c5a5 (patch)
treea68bc9db22120db4dcfb0a417b45c4487f790dad /drivers/input/serio
parentInput: altera_ps2 - remove redundant platform_set_drvdata() (diff)
downloadlinux-8be2d66b48c8831b70556e5291e5ad5a8fa8c5a5.tar.xz
linux-8be2d66b48c8831b70556e5291e5ad5a8fa8c5a5.zip
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.c2
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)
clk_put(psif->pclk);
kfree(psif);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}