linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata()
@ 2013-05-03  9:57 Sachin Kamat
  2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:57 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, sachin.kamat, patches,
	Ezequiel Garcia

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: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 drivers/thermal/armada_thermal.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index 5b4d75f..0d02d4e 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -210,7 +210,6 @@ static int armada_thermal_exit(struct platform_device *pdev)
 		platform_get_drvdata(pdev);
 
 	thermal_zone_device_unregister(armada_thermal);
-	platform_set_drvdata(pdev, NULL);
 
 	return 0;
 }
-- 
1.7.9.5


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

end of thread, other threads:[~2013-05-16  8:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
2013-05-03 10:12   ` Andrew Lunn
2013-05-03 12:47   ` Eduardo Valentin
2013-05-03  9:57 ` [PATCH 3/6] Thermal: exynos: " Sachin Kamat
2013-05-03 12:49   ` Eduardo Valentin
2013-05-03  9:57 ` [PATCH 4/6] Thermal: kirkwood: " Sachin Kamat
2013-05-03 12:50   ` Eduardo Valentin
2013-05-03 18:24   ` Nobuhiro Iwamatsu
2013-05-03  9:57 ` [PATCH 5/6] Thermal: rcar: " Sachin Kamat
2013-05-03 12:51   ` Eduardo Valentin
2013-05-03  9:57 ` [PATCH 6/6] Thermal: spear: " Sachin Kamat
2013-05-03 12:51   ` Eduardo Valentin
2013-05-04  6:15   ` Viresh Kumar
2013-05-03 11:31 ` [PATCH 1/6] Thermal: armada_thermal: " Ezequiel Garcia
2013-05-03 12:46 ` Eduardo Valentin
2013-05-16  8:09   ` Sachin Kamat
2013-05-16  8:46     ` Zhang Rui
2013-05-16  8:51       ` Sachin Kamat

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).