All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] watchdog: sirf: Remove redundant of_match_ptr helper
@ 2013-12-21  8:31 Sachin Kamat
  2013-12-21 17:55 ` Guenter Roeck
  2014-01-13 20:41 ` Wim Van Sebroeck
  0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-12-21  8:31 UTC (permalink / raw)
  To: linux-watchdog; +Cc: wim, sachin.kamat

'sirfsoc_wdt_of_match' is always compiled in. Hence the
helper macro is not needed.

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

diff --git a/drivers/watchdog/sirfsoc_wdt.c b/drivers/watchdog/sirfsoc_wdt.c
index ced3edc95957..702d07870808 100644
--- a/drivers/watchdog/sirfsoc_wdt.c
+++ b/drivers/watchdog/sirfsoc_wdt.c
@@ -212,7 +212,7 @@ static struct platform_driver sirfsoc_wdt_driver = {
 		.name = "sirfsoc-wdt",
 		.owner = THIS_MODULE,
 		.pm = &sirfsoc_wdt_pm_ops,
-		.of_match_table	= of_match_ptr(sirfsoc_wdt_of_match),
+		.of_match_table	= sirfsoc_wdt_of_match,
 	},
 	.probe = sirfsoc_wdt_probe,
 	.remove = sirfsoc_wdt_remove,
-- 
1.7.9.5


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

* Re: [PATCH 1/1] watchdog: sirf: Remove redundant of_match_ptr helper
  2013-12-21  8:31 [PATCH 1/1] watchdog: sirf: Remove redundant of_match_ptr helper Sachin Kamat
@ 2013-12-21 17:55 ` Guenter Roeck
  2014-01-13 20:41 ` Wim Van Sebroeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2013-12-21 17:55 UTC (permalink / raw)
  To: Sachin Kamat, linux-watchdog; +Cc: wim

On 12/21/2013 12:31 AM, Sachin Kamat wrote:
> 'sirfsoc_wdt_of_match' is always compiled in. Hence the
> helper macro is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>


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

* Re: [PATCH 1/1] watchdog: sirf: Remove redundant of_match_ptr helper
  2013-12-21  8:31 [PATCH 1/1] watchdog: sirf: Remove redundant of_match_ptr helper Sachin Kamat
  2013-12-21 17:55 ` Guenter Roeck
@ 2014-01-13 20:41 ` Wim Van Sebroeck
  1 sibling, 0 replies; 3+ messages in thread
From: Wim Van Sebroeck @ 2014-01-13 20:41 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-watchdog

Hi Sachin,

> 'sirfsoc_wdt_of_match' is always compiled in. Hence the
> helper macro is not needed.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Added to linux-watchdog-next.

Kind regards,
Wim.


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

end of thread, other threads:[~2014-01-13 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21  8:31 [PATCH 1/1] watchdog: sirf: Remove redundant of_match_ptr helper Sachin Kamat
2013-12-21 17:55 ` Guenter Roeck
2014-01-13 20:41 ` Wim Van Sebroeck

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.