'omap_ehci_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org>
---
Series compile tested against linux-next tree (20130521).
---
 drivers/usb/host/ehci-omap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index 16d7150..bafa960 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -294,7 +294,7 @@ static struct platform_driver ehci_hcd_omap_driver = {
        /*.resume               = ehci_hcd_omap_resume, */
        .driver = {
                .name           = hcd_name,
-               .of_match_table = of_match_ptr(omap_ehci_dt_ids),
+               .of_match_table = omap_ehci_dt_ids,
        }
 };
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to