]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: host: ehci-omap: Remove redundant use of of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:15 +0000 (17:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:12 +0000 (11:42 -0700)
'omap_ehci_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/ehci-omap.c

index 3d1491b5f3605e68b0a72e1d5786233f5ad94d7b..d3582fdfb34c371ab7efe93ca0f9fe458db1e428 100644 (file)
@@ -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,
        }
 };