linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] watchdog: at91rm9200: Remove redundant of_match_ptr
@ 2013-09-30  4:42 Sachin Kamat
  2013-09-30  4:42 ` [PATCH 2/3] watchdog: orion: " Sachin Kamat
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Sachin Kamat @ 2013-09-30  4:42 UTC (permalink / raw)
  To: linux-watchdog; +Cc: wim, sachin.kamat

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/watchdog/at91rm9200_wdt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c
index 1c75260..aa5cb56 100644
--- a/drivers/watchdog/at91rm9200_wdt.c
+++ b/drivers/watchdog/at91rm9200_wdt.c
@@ -269,7 +269,7 @@ static struct platform_driver at91wdt_driver = {
 	.driver		= {
 		.name	= "at91_wdt",
 		.owner	= THIS_MODULE,
-		.of_match_table = of_match_ptr(at91_wdt_dt_ids),
+		.of_match_table = at91_wdt_dt_ids,
 	},
 };
 
-- 
1.7.9.5


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

end of thread, other threads:[~2013-10-29  9:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30  4:42 [PATCH 1/3] watchdog: at91rm9200: Remove redundant of_match_ptr Sachin Kamat
2013-09-30  4:42 ` [PATCH 2/3] watchdog: orion: " Sachin Kamat
2013-10-02 15:15   ` [2/3] " Guenter Roeck
2013-09-30  4:42 ` [PATCH 3/3] watchdog: sunxi: " Sachin Kamat
2013-10-02 15:16   ` [3/3] " Guenter Roeck
2013-10-01 20:48 ` [1/3] watchdog: at91rm9200: " Guenter Roeck
2013-10-02  6:43   ` Sachin Kamat
2013-10-02 15:13     ` Guenter Roeck
2013-10-02 16:08       ` Sachin Kamat
2013-10-28  6:27       ` Sachin Kamat
2013-10-29  7:46 ` [PATCH 1/3] " Wim Van Sebroeck
2013-10-29  9:38   ` 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).