From: Sachin Kamat Date: Mon, 6 May 2013 02:42:04 +0000 (-0700) Subject: Input: at32psif - remove redundant platform_set_drvdata() X-Git-Tag: v3.11-rc1~86^2~7^2~54 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8be2d66b48c8831b70556e5291e5ad5a8fa8c5a5;p=~emulex%2Finfiniband.git 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 Acked-by: Hans-Christian Egtvedt Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/at32psif.c b/drivers/input/serio/at32psif.c index 190ce35af7d..3290b287ac4 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; }