On Mon, Sep 30, 2013 at 12:42:52PM -0000, Sachin Kamat wrote: > 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@xxxxxxxxxx> > Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx> > --- > drivers/watchdog/orion_wdt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c > index 4ea5fcc..34adb54 100644 > --- a/drivers/watchdog/orion_wdt.c > +++ b/drivers/watchdog/orion_wdt.c > @@ -207,7 +207,7 @@ static struct platform_driver orion_wdt_driver = { > .driver = { > .owner = THIS_MODULE, > .name = "orion_wdt", > - .of_match_table = of_match_ptr(orion_wdt_of_match_table), > + .of_match_table = orion_wdt_of_match_table, > }, > }; > -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html