linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr
@ 2013-05-16 10:28 Sachin Kamat
  2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Sachin Kamat @ 2013-05-16 10:28 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, patches, sachin.kamat,
	Ezequiel Garcia

'armada_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 drivers/thermal/armada_thermal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index 0d02d4e..9426bbd 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -220,7 +220,7 @@ static struct platform_driver armada_thermal_driver = {
 	.driver = {
 		.name = "armada_thermal",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(armada_thermal_id_table),
+		.of_match_table = armada_thermal_id_table,
 	},
 };
 
-- 
1.7.9.5


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

end of thread, other threads:[~2013-05-23 15:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
2013-05-23 14:58   ` Eduardo Valentin
2013-05-16 10:28 ` [PATCH 3/4] Thermal: kirkwood: " Sachin Kamat
2013-05-23 14:59   ` Eduardo Valentin
2013-05-16 10:28 ` [PATCH 4/4] Thermal: spear: " Sachin Kamat
2013-05-16 10:42   ` Viresh Kumar
2013-05-23 15:01   ` Eduardo Valentin
2013-05-23 11:40 ` [PATCH 1/4] Thermal: armada: " Sachin Kamat
2013-05-23 14:58 ` Eduardo Valentin

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