usb: host: ohci-omap3: Remove redundant use of of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:19 +0000 (17:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:13 +0000 (11:42 -0700)
'omap_ohci_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-omap3.c

index ddfc31427bc09e1fc95c63ea40f006ad00631e66..08e811d438f37eb77a5a9947b1d3d2dd087fcfd8 100644 (file)
@@ -252,7 +252,7 @@ static struct platform_driver ohci_hcd_omap3_driver = {
        .shutdown       = ohci_hcd_omap3_shutdown,
        .driver         = {
                .name   = "ohci-omap3",
-               .of_match_table = of_match_ptr(omap_ohci_dt_ids),
+               .of_match_table = omap_ohci_dt_ids,
        },
 };