linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] Input: altera_ps2 - Remove redundant platform_set_drvdata()
@ 2013-05-03 10:36 Sachin Kamat
  2013-05-03 10:36 ` [PATCH 2/3] Input: at32psif " Sachin Kamat
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sachin Kamat @ 2013-05-03 10:36 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, sachin.kamat, Thomas Chou

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>
Cc: Thomas Chou <thomas@wytron.com.tw>
---
 drivers/input/serio/altera_ps2.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
index 479ce5f..a0a2657 100644
--- a/drivers/input/serio/altera_ps2.c
+++ b/drivers/input/serio/altera_ps2.c
@@ -163,7 +163,6 @@ static int altera_ps2_remove(struct platform_device *pdev)
 {
 	struct ps2if *ps2if = platform_get_drvdata(pdev);
 
-	platform_set_drvdata(pdev, NULL);
 	serio_unregister_port(ps2if->io);
 	free_irq(ps2if->irq, ps2if);
 	iounmap(ps2if->base);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-06  1:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03 10:36 [PATCH 1/3] Input: altera_ps2 - Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-03 10:36 ` [PATCH 2/3] Input: at32psif " Sachin Kamat
2013-05-03 11:26   ` Hans-Christian Egtvedt
2013-05-03 10:36 ` [PATCH 3/3] Input: q40kbd " Sachin Kamat
2013-05-06  1:38 ` [PATCH 1/3] Input: altera_ps2 " Thomas Chou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).