All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ACPI: ghes: Remove redundant platform_set_drvdata()
@ 2013-05-29 11:46 Sachin Kamat
  2013-06-04  3:18 ` Chen Gong
  0 siblings, 1 reply; 8+ messages in thread
From: Sachin Kamat @ 2013-05-29 11:46 UTC (permalink / raw)
  To: linux-acpi; +Cc: rjw, lenb, sachin.kamat, Huang Ying

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: Huang Ying <ying.huang@intel.com>
---
 drivers/acpi/apei/ghes.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index d668a8a..e03c20e 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -1011,8 +1011,6 @@ static int ghes_remove(struct platform_device *ghes_dev)
 
 	kfree(ghes);
 
-	platform_set_drvdata(ghes_dev, NULL);
-
 	return 0;
 }
 
-- 
1.7.9.5


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

end of thread, other threads:[~2013-06-28 18:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29 11:46 [PATCH 1/1] ACPI: ghes: Remove redundant platform_set_drvdata() Sachin Kamat
2013-06-04  3:18 ` Chen Gong
2013-06-04  3:34   ` Sachin Kamat
2013-06-04 11:10     ` Rafael J. Wysocki
2013-06-04 11:29       ` Sachin Kamat
2013-06-28  8:44       ` Sachin Kamat
2013-06-28 10:44         ` Rafael J. Wysocki
2013-06-28 18:47           ` Tony Luck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.