summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-05 19:42:04 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-05 20:15:07 -0700
commit8be2d66b48c8831b70556e5291e5ad5a8fa8c5a5 (patch)
treea68bc9db22120db4dcfb0a417b45c4487f790dad /drivers/input/serio
parent690351d63589caa7d5b38d6b5e0b71a037ed77c0 (diff)
downloadtalos-obmc-linux-8be2d66b48c8831b70556e5291e5ad5a8fa8c5a5.tar.gz
talos-obmc-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;
}
OpenPOWER on IntegriCloud